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