pub enum WsDecodeError {
InvalidString,
InvalidUpgradeRequest,
InvalidHttpVersion,
InvalidUpgradeHeaders,
MissingWebSocketKey,
Io(Error),
}
Variants§
InvalidString
InvalidUpgradeRequest
InvalidHttpVersion
InvalidUpgradeHeaders
MissingWebSocketKey
Io(Error)
Trait Implementations§
Source§impl Debug for WsDecodeError
impl Debug for WsDecodeError
Source§impl From<Error> for WsDecodeError
impl From<Error> for WsDecodeError
Source§fn from(err: Error) -> WsDecodeError
fn from(err: Error) -> WsDecodeError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WsDecodeError
impl !RefUnwindSafe for WsDecodeError
impl Send for WsDecodeError
impl Sync for WsDecodeError
impl Unpin for WsDecodeError
impl !UnwindSafe for WsDecodeError
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