pub struct PipeFile {
pub read_end: File,
pub write_end: File,
}
Expand description
A pipe has two ends and no middle.
Fields§
§read_end: File
Read from this end of the pipe.
write_end: File
Write to this end of the pipe.
Auto Trait Implementations§
impl Freeze for PipeFile
impl RefUnwindSafe for PipeFile
impl Send for PipeFile
impl Sync for PipeFile
impl Unpin for PipeFile
impl UnwindSafe for PipeFile
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