Struct wrpc_transport::ListDecoder
source · pub struct ListDecoder<T, R>where
T: Decoder,{ /* private fields */ }
Expand description
Decoder for list<T>
Implementations§
Trait Implementations§
source§impl<T, R> Decoder for ListDecoder<T, R>
impl<T, R> Decoder for ListDecoder<T, R>
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<T, R> Default for ListDecoder<T, R>
impl<T, R> Default for ListDecoder<T, R>
source§impl<T, R> Deferred<Incoming<R>> for ListDecoder<T, R>
impl<T, R> Deferred<Incoming<R>> for ListDecoder<T, R>
source§fn take_deferred(&mut self) -> Option<DeferredFn<Incoming<R>>>
fn take_deferred(&mut self) -> Option<DeferredFn<Incoming<R>>>
Takes a deferred async processing operation, if any
Auto Trait Implementations§
impl<T, R> Freeze for ListDecoder<T, R>where
T: Freeze,
impl<T, R> !RefUnwindSafe for ListDecoder<T, R>
impl<T, R> Send for ListDecoder<T, R>
impl<T, R> !Sync for ListDecoder<T, R>
impl<T, R> Unpin for ListDecoder<T, R>
impl<T, R> !UnwindSafe for ListDecoder<T, R>
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