pub struct SandboxProcessConfig {
pub linux: LinuxPreparation,
pub inherit_handles: Vec<RawHandle>,
}Expand description
The result of prepare: everything the platform process
builder needs to apply before the spawn.
It is deliberately inert plain data — no file descriptors are touched, no process APIs are called. The caller passes the value intact to the platform process builder.
Fields§
§linux: LinuxPreparationLinux namespace creation and current-user mapping requirements.
inherit_handles: Vec<RawHandle>The handles that must remain inheritable across the spawn. Every descriptor not listed here, or configured as standard I/O by the process builder, must be closed before the child is reached.
Trait Implementations§
Source§impl Clone for SandboxProcessConfig
impl Clone for SandboxProcessConfig
Source§fn clone(&self) -> SandboxProcessConfig
fn clone(&self) -> SandboxProcessConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SandboxProcessConfig
impl Debug for SandboxProcessConfig
Source§impl Default for SandboxProcessConfig
impl Default for SandboxProcessConfig
Source§fn default() -> SandboxProcessConfig
fn default() -> SandboxProcessConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SandboxProcessConfig
impl RefUnwindSafe for SandboxProcessConfig
impl Send for SandboxProcessConfig
impl Sync for SandboxProcessConfig
impl Unpin for SandboxProcessConfig
impl UnsafeUnpin for SandboxProcessConfig
impl UnwindSafe for SandboxProcessConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more