pub enum WsErrorKind {
Io(Error),
Closed,
AlreadyClosed,
Other(Box<dyn Error + Send + Sync>),
}Variants§
Io(Error)
Closed
Normally closed. Won’t be considered as an error.
AlreadyClosed
Other(Box<dyn Error + Send + Sync>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WsErrorKind
impl !RefUnwindSafe for WsErrorKind
impl Send for WsErrorKind
impl Sync for WsErrorKind
impl Unpin for WsErrorKind
impl !UnwindSafe for WsErrorKind
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