pub enum StdioConfig {
Inherit,
Piped,
Null,
Fd(u32),
}Expand description
Standard I/O configuration.
Variants§
Inherit
Inherit from parent.
Piped
Pipe (capture).
Null
Null/Discard.
Fd(u32)
Specific file descriptor.
Trait Implementations§
Source§impl Clone for StdioConfig
impl Clone for StdioConfig
Source§fn clone(&self) -> StdioConfig
fn clone(&self) -> StdioConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 StdioConfig
impl Debug for StdioConfig
Source§impl Default for StdioConfig
impl Default for StdioConfig
Source§fn default() -> StdioConfig
fn default() -> StdioConfig
Returns the “default value” for a type. Read more
impl Copy for StdioConfig
Auto Trait Implementations§
impl Freeze for StdioConfig
impl RefUnwindSafe for StdioConfig
impl Send for StdioConfig
impl Sync for StdioConfig
impl Unpin for StdioConfig
impl UnsafeUnpin for StdioConfig
impl UnwindSafe for StdioConfig
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