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