pub enum CommandStderr {
Inherit,
Stream(SharedOutput),
OsPipe(OsPipeWriter),
}Variants§
Inherit
Stream(SharedOutput)
OsPipe(OsPipeWriter)
Direct OS kernel pipe writer, mirroring CommandStdout::OsPipe.
Merging stdout and stderr into one live name takes the same slot
twice, so the second take bails; merge in shell via 2>&1 instead.
Trait Implementations§
Source§impl Clone for CommandStderr
impl Clone for CommandStderr
Auto Trait Implementations§
impl Freeze for CommandStderr
impl RefUnwindSafe for CommandStderr
impl Send for CommandStderr
impl Sync for CommandStderr
impl Unpin for CommandStderr
impl UnsafeUnpin for CommandStderr
impl UnwindSafe for CommandStderr
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