pub struct WsUpgraderCodec {}
Implementations§
Trait Implementations§
Source§impl Debug for WsUpgraderCodec
impl Debug for WsUpgraderCodec
Source§impl Decoder for WsUpgraderCodec
impl Decoder for WsUpgraderCodec
Source§type Error = WsDecodeError
type Error = WsDecodeError
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
Source§impl Default for WsUpgraderCodec
impl Default for WsUpgraderCodec
Auto Trait Implementations§
impl Freeze for WsUpgraderCodec
impl RefUnwindSafe for WsUpgraderCodec
impl Send for WsUpgraderCodec
impl Sync for WsUpgraderCodec
impl Unpin for WsUpgraderCodec
impl UnwindSafe for WsUpgraderCodec
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