pub enum Stdio {
Piped,
Inherit,
Null,
}Expand description
Stdio configuration for spawned processes.
Variants§
Piped
Pipe the stream, allowing reading/writing from the parent process.
Inherit
Inherit the stream from the parent process.
Null
Redirect to /dev/null.
Trait Implementations§
impl Copy for Stdio
Auto Trait Implementations§
impl Freeze for Stdio
impl RefUnwindSafe for Stdio
impl Send for Stdio
impl Sync for Stdio
impl Unpin for Stdio
impl UnwindSafe for Stdio
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