pub struct Pipe { /* private fields */ }Implementations§
Source§impl Pipe
impl Pipe
pub fn new() -> Result<Self>
pub fn write_fd(&self) -> RawFd
pub fn write_end(&self) -> BorrowedFd<'_>
pub fn try_clone(&self) -> Result<Self>
pub fn from_fds(read: RawFd, write: RawFd) -> Self
pub fn read_fd(&self) -> RawFd
pub fn read_end(&self) -> BorrowedFd<'_>
pub fn notify(&self) -> Result<()>
Auto Trait Implementations§
impl !RefUnwindSafe for Pipe
impl !Sync for Pipe
impl Freeze for Pipe
impl Send 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