pub struct MqttCodec { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Decoder for MqttCodec
impl Decoder for MqttCodec
Source§type Error = DecodeError
type Error = DecodeError
The type of unrecoverable frame decoding errors. Read more
Source§fn decode(
&mut self,
buf: &mut BytesMut,
) -> Result<Option<Self::Item>, Self::Error>
fn decode( &mut self, buf: &mut BytesMut, ) -> Result<Option<Self::Item>, Self::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
Auto Trait Implementations§
impl Freeze for MqttCodec
impl RefUnwindSafe for MqttCodec
impl Send for MqttCodec
impl Sync for MqttCodec
impl Unpin for MqttCodec
impl UnwindSafe for MqttCodec
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