pub struct BmpDecoder { /* private fields */ }
Expand description
Some docs ay Decoder implementation for use with a FramedReader
Implementations§
Source§impl BmpDecoder
impl BmpDecoder
Trait Implementations§
Source§impl Clone for BmpDecoder
impl Clone for BmpDecoder
Source§fn clone(&self) -> BmpDecoder
fn clone(&self) -> BmpDecoder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BmpDecoder
impl Debug for BmpDecoder
Source§impl Decoder for BmpDecoder
impl Decoder for BmpDecoder
Source§type Item = BmpMessage
type Item = BmpMessage
The type of decoded frames.
Source§fn decode(&mut self, src: &mut BytesMut) -> Result<Option<BmpMessage>>
fn decode(&mut self, src: &mut BytesMut) -> Result<Option<BmpMessage>>
Attempts to decode a frame from the provided buffer of bytes. Read more
Auto Trait Implementations§
impl Freeze for BmpDecoder
impl RefUnwindSafe for BmpDecoder
impl Send for BmpDecoder
impl Sync for BmpDecoder
impl Unpin for BmpDecoder
impl UnwindSafe for BmpDecoder
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