pub enum PipeValue {
Bytes(Vec<u8>),
Context(Context),
}Expand description
Value flowing through a pipe between commands within a pipeline.
Variants§
Bytes(Vec<u8>)
Raw bytes from a non-optional command’s stdout (or stdout+stderr for |&).
Context(Context)
Accumulated context from a chain of optional commands, ready to be serialized to JSON and passed to the terminal non-optional command.
Auto Trait Implementations§
impl Freeze for PipeValue
impl RefUnwindSafe for PipeValue
impl Send for PipeValue
impl Sync for PipeValue
impl Unpin for PipeValue
impl UnsafeUnpin for PipeValue
impl UnwindSafe for PipeValue
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