pub struct SpawnOptions { /* private fields */ }Expand description
Configuration options for spawning a new process.
Move-only: when pty_fds is Some the struct owns a pty pair (raw OS
descriptors), so it is not Clone — duplicating the builder would duplicate
ownership of fds that cannot be duplicated.
Implementations§
Source§impl SpawnOptions
impl SpawnOptions
Auto Trait Implementations§
impl !RefUnwindSafe for SpawnOptions
impl !UnwindSafe for SpawnOptions
impl Freeze for SpawnOptions
impl Send for SpawnOptions
impl Sync for SpawnOptions
impl Unpin for SpawnOptions
impl UnsafeUnpin for SpawnOptions
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