pub struct Pipe {
pub reader: FileDesc,
pub writer: FileDesc,
}Expand description
A wrapper for a reader and writer OS pipe pair.
Fields§
§reader: FileDescThe reader end of the pipe. Anything written to the writer end can be read here.
writer: FileDescThe writer end of the pipe. Anything written here can be read from the reader end.
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 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