Enum stream_ws::WsErrorKind
source · 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 !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