pub struct StreamDecoderBytes { /* private fields */ }Expand description
Decoder for stream<list<u8>>
Trait Implementations§
Source§impl Decoder for StreamDecoderBytes
impl Decoder for StreamDecoderBytes
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 StreamDecoderBytes
impl Default for StreamDecoderBytes
Source§fn default() -> StreamDecoderBytes
fn default() -> StreamDecoderBytes
Returns the “default value” for a type. Read more
Source§impl Deferred<BufferedIncoming> for StreamDecoderBytes
impl Deferred<BufferedIncoming> for StreamDecoderBytes
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 !RefUnwindSafe for StreamDecoderBytes
impl !Sync for StreamDecoderBytes
impl !UnwindSafe for StreamDecoderBytes
impl Freeze for StreamDecoderBytes
impl Send for StreamDecoderBytes
impl Unpin for StreamDecoderBytes
impl UnsafeUnpin for StreamDecoderBytes
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