pub enum StderrMode {
Pipe,
Inherit,
}Expand description
Where the child’s stderr goes.
Variants§
Pipe
Capture it, subject to the output cap. Use when stderr is part of the error message the caller reports.
Inherit
Let it flow to the parent’s stderr. Use where an operator is watching a terminal and the child’s diagnostics are the point.
Trait Implementations§
Source§impl Clone for StderrMode
impl Clone for StderrMode
Source§fn clone(&self) -> StderrMode
fn clone(&self) -> StderrMode
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 StderrMode
Source§impl Debug for StderrMode
impl Debug for StderrMode
Source§impl Default for StderrMode
impl Default for StderrMode
Source§fn default() -> StderrMode
fn default() -> StderrMode
Returns the “default value” for a type. Read more
impl Eq for StderrMode
Source§impl PartialEq for StderrMode
impl PartialEq for StderrMode
impl StructuralPartialEq for StderrMode
Auto Trait Implementations§
impl Freeze for StderrMode
impl RefUnwindSafe for StderrMode
impl Send for StderrMode
impl Sync for StderrMode
impl Unpin for StderrMode
impl UnsafeUnpin for StderrMode
impl UnwindSafe for StderrMode
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