pub struct RecvBuffer { /* private fields */ }
Trait Implementations§
Source§impl Decoder for RecvBuffer
impl Decoder for RecvBuffer
Source§impl HandleDecoder for RecvBuffer
impl HandleDecoder for RecvBuffer
Source§fn take_raw_handle(&mut self) -> Result<zx_handle_t, DecodeError>
fn take_raw_handle(&mut self) -> Result<zx_handle_t, DecodeError>
Takes the next raw handle from the decoder. Read more
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 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
§impl<D> DecoderExt for Dwhere
D: Decoder + ?Sized,
impl<D> DecoderExt for Dwhere
D: Decoder + ?Sized,
§fn take_chunks<'de>(
self: &mut &'de mut D,
count: usize,
) -> Result<&'de mut [WireU64], DecodeError>
fn take_chunks<'de>( self: &mut &'de mut D, count: usize, ) -> Result<&'de mut [WireU64], DecodeError>
Takes a slice of
Chunk
s from the decoder.§fn take_slot<'de, T>(self: &mut &'de mut D) -> Result<Slot<'de, T>, DecodeError>
fn take_slot<'de, T>(self: &mut &'de mut D) -> Result<Slot<'de, T>, DecodeError>
Takes enough chunks for a
T
, returning a Slot
of the taken value.§fn take_slice_slot<'de, T>(
self: &mut &'de mut D,
len: usize,
) -> Result<Slot<'de, [T]>, DecodeError>
fn take_slice_slot<'de, T>( self: &mut &'de mut D, len: usize, ) -> Result<Slot<'de, [T]>, DecodeError>
Takes enough chunks for a slice of
T
, returning a Slot
of the taken slice.§fn decode_owned<'de, T>(
self: &mut &'de mut D,
) -> Result<<T as Wire>::Decoded<'de>, DecodeError>where
T: Decode<D>,
fn decode_owned<'de, T>(
self: &mut &'de mut D,
) -> Result<<T as Wire>::Decoded<'de>, DecodeError>where
T: Decode<D>,
Decodes an
Owned
value from the decoder without finishing it. Read more