Struct ratchet_rs::NoExtDecoder [−][src]
pub struct NoExtDecoder;
Trait Implementations
type Error = Infallible
type Error = Infallible
The error type produced by this extension if decoding fails.
pub fn decode(
&mut self,
_payload: &mut BytesMut,
_header: &mut FrameHeader
) -> Result<(), <NoExtDecoder as ExtensionDecoder>::Error>
pub fn decode(
&mut self,
_payload: &mut BytesMut,
_header: &mut FrameHeader
) -> Result<(), <NoExtDecoder as ExtensionDecoder>::Error>
Invoked when a frame has been received. Read more
Auto Trait Implementations
impl RefUnwindSafe for NoExtDecoder
impl Send for NoExtDecoder
impl Sync for NoExtDecoder
impl Unpin for NoExtDecoder
impl UnwindSafe for NoExtDecoder
Blanket Implementations
Mutably borrows from an owned value. Read more