pub enum Stdio<'a> {
Inherit,
Null,
Fd(BorrowedFd<'a>),
}
Expand description
A stdio option.
Variants§
Inherit
Inherit the current process’s stdio fd.
Null
Open /dev/null for the child process.
Fd(BorrowedFd<'a>)
Use the provided fd.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Stdio<'a>
impl<'a> RefUnwindSafe for Stdio<'a>
impl<'a> Send for Stdio<'a>
impl<'a> Sync for Stdio<'a>
impl<'a> Unpin for Stdio<'a>
impl<'a> UnwindSafe for Stdio<'a>
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