pub struct Pipe { /* private fields */ }Expand description
An in-memory pipe for virtual command coordination.
The producer writes through the Output half; the consumer reads
through the corresponding Input half. Both halves share one buffer,
so everything the producer writes before the consumer starts reading
is available to the consumer — the model the Shell runtime relies on
for sequential pipeline execution.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pipe
impl RefUnwindSafe for Pipe
impl Send for Pipe
impl Sync for Pipe
impl Unpin for Pipe
impl UnsafeUnpin for Pipe
impl UnwindSafe for Pipe
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