Enum clonable_command::Stdio
source · pub enum Stdio {
Piped,
Inherit,
Null,
}
Expand description
Enum version of std’s Stdio, allowing easy copying and serialization.
Variants§
Piped
A new pipe should be arranged to connect the parent and child processes. more
Inherit
The child inherits from the corresponding parent descriptor. more
Null
This stream will be ignored. This is the equivalent of attaching the
stream to /dev/null
. more
Implementations§
Trait Implementations§
source§impl PartialEq for Stdio
impl PartialEq for Stdio
impl Copy for Stdio
impl Eq for Stdio
impl StructuralPartialEq 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