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<'de> Deserialize<'de> for Stdio
impl<'de> Deserialize<'de> for Stdio
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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