Enum ratchet_rs::ErrorKind
source · [−]pub enum ErrorKind {
IO,
Http,
Extension,
Protocol,
Encoding,
Close,
}
Expand description
A type of error represented.
Variants
IO
An IO error.
Http
An HTTP error.
Extension
An extension error.
Protocol
A protocol error.
Encoding
An encoding error.
Close
A close error.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more