pub enum OutputMode {
Discard,
Inherit,
Capture,
}Expand description
What to do with a child’s standard output and standard error.
Variants§
Discard
Send both to the null device. The default: a runner writes its own diagnostics into its workspace, and inheriting its output would splice unredacted text into this process’s stream.
Inherit
Inherit this process’s handles.
Capture
Capture both, readable through ChildProcess::take_stdout.
Trait Implementations§
Source§impl Clone for OutputMode
impl Clone for OutputMode
impl Copy for OutputMode
Source§impl Debug for OutputMode
impl Debug for OutputMode
Source§impl Default for OutputMode
impl Default for OutputMode
impl Eq for OutputMode
Source§impl PartialEq for OutputMode
impl PartialEq for OutputMode
impl StructuralPartialEq for OutputMode
Auto Trait Implementations§
impl Forget for OutputMode
impl Freeze for OutputMode
impl RefUnwindSafe for OutputMode
impl Send for OutputMode
impl Sync for OutputMode
impl Unpin for OutputMode
impl UnsafeUnpin for OutputMode
impl UnwindSafe for OutputMode
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