pub struct RecvBuffer { /* private fields */ }
Expand description
A received message buffer.
Trait Implementations§
Source§impl<'buf> Decoder<'buf> for &'buf mut RecvBuffer
impl<'buf> Decoder<'buf> for &'buf mut RecvBuffer
Source§fn take_chunks(
&mut self,
count: usize,
) -> Result<&'buf mut [Chunk], DecodeError>
fn take_chunks( &mut self, count: usize, ) -> Result<&'buf mut [Chunk], DecodeError>
Takes a slice of
Chunk
s from the decoder. Read moreimpl InternalHandleDecoder for &mut RecvBuffer
Auto Trait Implementations§
impl Freeze for RecvBuffer
impl RefUnwindSafe for RecvBuffer
impl Send for RecvBuffer
impl Sync for RecvBuffer
impl Unpin for RecvBuffer
impl UnwindSafe for RecvBuffer
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