pub enum ErrorKind {
ServerFailure,
ServerBusy,
Deadlock,
ResponseFailure,
InvalidStatusCode,
RequestBodyFailure,
ResponseBodyFailure,
FileNotFound,
InvalidHeaderName,
}
Expand description
The type of an error
Variants§
ServerFailure
The server is not running
ServerBusy
The server is busy
Deadlock
A lock can’t be bypassed
ResponseFailure
Could not deliver a response
InvalidStatusCode
The status code is invalid or out of range
RequestBodyFailure
Failed to read the request body
ResponseBodyFailure
Failed to write the response body
FileNotFound
File not found
InvalidHeaderName
Invalid header name
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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