pub enum ErrorKind {
Uninitialized,
HttpRequest(Error),
HttpResponse(StatusCode),
MetadataParse(&'static str),
}
Expand description
Represents the details of the Error
Variants
Uninitialized
An error occurred during initialization in the other thread.
HttpRequest(Error)
Errors that can possibly occur while accessing an HTTP server.
HttpResponse(StatusCode)
Metadata service response status code other than 200.
MetadataParse(&'static str)
Metadata parse 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