pub struct AnonPipe(FileDesc);
Tuple Fields§
§0: FileDesc
Implementations§
source§impl AnonPipe
impl AnonPipe
pub fn read(&self, buf: &mut [u8]) -> Result<usize>
pub fn read_buf(&self, buf: BorrowedCursor<'_>) -> Result<()>
pub fn read_vectored(&self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize>
pub fn is_read_vectored(&self) -> bool
pub fn read_to_end(&self, buf: &mut Vec<u8>) -> Result<usize>
pub fn write(&self, buf: &[u8]) -> Result<usize>
pub fn write_vectored(&self, bufs: &[IoSlice<'_>]) -> Result<usize>
pub fn is_write_vectored(&self) -> bool
Trait Implementations§
source§impl AsFd for AnonPipe
impl AsFd for AnonPipe
source§fn as_fd(&self) -> BorrowedFd<'_>
fn as_fd(&self) -> BorrowedFd<'_>
Borrows the file descriptor. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AnonPipe
impl Send for AnonPipe
impl Sync for AnonPipe
impl Unpin for AnonPipe
impl UnwindSafe for AnonPipe
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