pub enum StdinPolicy {
Null,
Held,
}Expand description
What capture does with the child’s stdin.
Variants§
Null
The child reads /dev/null and sees EOF immediately.
Held
The child’s stdin is a pipe whose local writer is held open for the whole capture and dropped when the child has exited. The child sees an open stdin with no data — never an early EOF.
Trait Implementations§
Source§impl Clone for StdinPolicy
impl Clone for StdinPolicy
Source§fn clone(&self) -> StdinPolicy
fn clone(&self) -> StdinPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StdinPolicy
Source§impl Debug for StdinPolicy
impl Debug for StdinPolicy
impl Eq for StdinPolicy
Source§impl PartialEq for StdinPolicy
impl PartialEq for StdinPolicy
impl StructuralPartialEq for StdinPolicy
Auto Trait Implementations§
impl Freeze for StdinPolicy
impl RefUnwindSafe for StdinPolicy
impl Send for StdinPolicy
impl Sync for StdinPolicy
impl Unpin for StdinPolicy
impl UnsafeUnpin for StdinPolicy
impl UnwindSafe for StdinPolicy
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