pub struct MessageReadHalf<'a, M: RingMem> { /* private fields */ }
Expand description
The read half of a pipe.
Trait Implementations§
Auto Trait Implementations§
impl<'a, M> Freeze for MessageReadHalf<'a, M>
impl<'a, M> !RefUnwindSafe for MessageReadHalf<'a, M>
impl<'a, M> Send for MessageReadHalf<'a, M>where
M: Sync,
impl<'a, M> Sync for MessageReadHalf<'a, M>where
M: Sync,
impl<'a, M> Unpin for MessageReadHalf<'a, M>
impl<'a, M> !UnwindSafe for MessageReadHalf<'a, M>
Blanket Implementations§
Source§impl<T> AsyncRecvExt for T
impl<T> AsyncRecvExt for T
Source§fn recv_exact<'a>(&'a mut self, buf: &'a mut [u8]) -> RecvExact<'a, Self> ⓘ
fn recv_exact<'a>(&'a mut self, buf: &'a mut [u8]) -> RecvExact<'a, Self> ⓘ
Receive a datagram into
buf
, failing if its size is not exactly the
size of buf
.Source§fn recv_vectored<'a>(
&'a mut self,
bufs: &'a mut [IoSliceMut<'a>],
) -> RecvVectored<'a, Self> ⓘ
fn recv_vectored<'a>( &'a mut self, bufs: &'a mut [IoSliceMut<'a>], ) -> RecvVectored<'a, Self> ⓘ
Read a single datagram into
bufs
. Read moreSource§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