pub enum CaptureMode {
Split,
Merged,
}Expand description
How a command’s standard output and standard error are captured.
Output is always captured for a request that does not keep the terminal; the
mode only decides how. A request that keeps the terminal
(RunRequest::terminal) captures nothing, and its output is only the empty
output in the shape of the mode.
Variants§
Split
Standard output and standard error are captured separately.
Merged
Both streams go through one pipe, so their order is exact.
Trait Implementations§
Source§impl Clone for CaptureMode
impl Clone for CaptureMode
impl Copy for CaptureMode
Source§impl Debug for CaptureMode
impl Debug for CaptureMode
Source§impl Default for CaptureMode
impl Default for CaptureMode
impl Eq for CaptureMode
Source§impl Hash for CaptureMode
impl Hash for CaptureMode
Source§impl PartialEq for CaptureMode
impl PartialEq for CaptureMode
impl StructuralPartialEq for CaptureMode
Auto Trait Implementations§
impl Freeze for CaptureMode
impl RefUnwindSafe for CaptureMode
impl Send for CaptureMode
impl Sync for CaptureMode
impl Unpin for CaptureMode
impl UnsafeUnpin for CaptureMode
impl UnwindSafe for CaptureMode
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