pub struct GsbMessageDecoder { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Decoder for GsbMessageDecoder
impl Decoder for GsbMessageDecoder
Source§type Error = ProtocolError
type Error = ProtocolError
The type of unrecoverable frame decoding errors. Read more
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 GsbMessageDecoder
impl Default for GsbMessageDecoder
Source§fn default() -> GsbMessageDecoder
fn default() -> GsbMessageDecoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GsbMessageDecoder
impl RefUnwindSafe for GsbMessageDecoder
impl Send for GsbMessageDecoder
impl Sync for GsbMessageDecoder
impl Unpin for GsbMessageDecoder
impl UnwindSafe for GsbMessageDecoder
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