pub struct Pipe { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl FileLike for Pipe
impl FileLike for Pipe
fn read(&self, buf: &mut [u8]) -> LinuxResult<usize>
fn write(&self, buf: &[u8]) -> LinuxResult<usize>
fn stat(&self) -> LinuxResult<Kstat>
fn into_any(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>
fn poll(&self) -> LinuxResult<PollState>
fn set_nonblocking(&self, _nonblocking: bool) -> LinuxResult
fn from_fd(fd: c_int) -> LinuxResult<Arc<Self>>where
Self: Sized + 'static,
fn add_to_fd_table(self) -> LinuxResult<c_int>where
Self: Sized + 'static,
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