pub enum CommandStdout {
Inherit,
Stream(SharedOutput),
Capture,
OsPipe(OsPipeWriter),
}Variants§
Inherit
Stream(SharedOutput)
Capture
OsPipe(OsPipeWriter)
Direct OS kernel pipe writer for concurrent pipelines. Single use:
the handle is taken on spawn and the parent retains no copy, so the
reader observes EOF once the producer exits. Only valid with
concurrently spawned consumers (ASYNC); never for sequential steps.
Trait Implementations§
Source§impl Clone for CommandStdout
impl Clone for CommandStdout
Source§fn clone(&self) -> CommandStdout
fn clone(&self) -> CommandStdout
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 moreSource§impl Default for CommandStdout
impl Default for CommandStdout
Source§fn default() -> CommandStdout
fn default() -> CommandStdout
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommandStdout
impl RefUnwindSafe for CommandStdout
impl Send for CommandStdout
impl Sync for CommandStdout
impl Unpin for CommandStdout
impl UnsafeUnpin for CommandStdout
impl UnwindSafe for CommandStdout
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