pub struct RecvBuffer { /* private fields */ }
Expand description
A channel receive 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 moreSource§impl HandleDecoder for &mut RecvBuffer
impl HandleDecoder for &mut RecvBuffer
Source§fn take_handle(&mut self) -> Result<Handle, DecodeError>
fn take_handle(&mut self) -> Result<Handle, DecodeError>
Takes the next handle from the decoder.
Source§fn handles_remaining(&mut self) -> usize
fn handles_remaining(&mut self) -> usize
Returns the number of handles remaining in the decoder.
impl 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