pub struct Pipe<T> {
pub reader: T,
pub writer: T,
}Expand description
A pipe reader/writer pair created by a FileDescOpener.
Fields§
§reader: TThe reader end of the pipe. Anything written to the writer end can be read here.
writer: TThe writer end of the pipe. Anything written here can be read from the reader end.
Trait Implementations§
impl<T: Eq> Eq for Pipe<T>
impl<T> StructuralPartialEq for Pipe<T>
Auto Trait Implementations§
impl<T> Freeze for Pipe<T>where
T: Freeze,
impl<T> RefUnwindSafe for Pipe<T>where
T: RefUnwindSafe,
impl<T> Send for Pipe<T>where
T: Send,
impl<T> Sync for Pipe<T>where
T: Sync,
impl<T> Unpin for Pipe<T>where
T: Unpin,
impl<T> UnwindSafe for Pipe<T>where
T: UnwindSafe,
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