Struct wrpc_transport::ListDecoderU8
source · pub struct ListDecoderU8(/* private fields */);
Expand description
Decoder for list<u8>
Trait Implementations§
source§impl Debug for ListDecoderU8
impl Debug for ListDecoderU8
source§impl Decoder for ListDecoderU8
impl Decoder for ListDecoderU8
source§type Error = <CoreVecDecoderBytes as Decoder>::Error
type Error = <CoreVecDecoderBytes as Decoder>::Error
The type of unrecoverable frame decoding errors. Read more
source§fn decode(
&mut self,
src: &mut BytesMut,
) -> Result<Option<Self::Item>, Self::Error>
fn decode( &mut self, src: &mut BytesMut, ) -> Result<Option<Self::Item>, Self::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
source§impl Default for ListDecoderU8
impl Default for ListDecoderU8
source§fn default() -> ListDecoderU8
fn default() -> ListDecoderU8
Returns the “default value” for a type. Read more
source§impl<T> Deferred<T> for ListDecoderU8
impl<T> Deferred<T> for ListDecoderU8
source§fn take_deferred(&mut self) -> Option<DeferredFn<T>>
fn take_deferred(&mut self) -> Option<DeferredFn<T>>
Takes a deferred async processing operation, if any
Auto Trait Implementations§
impl Freeze for ListDecoderU8
impl RefUnwindSafe for ListDecoderU8
impl Send for ListDecoderU8
impl Sync for ListDecoderU8
impl Unpin for ListDecoderU8
impl UnwindSafe for ListDecoderU8
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