pub enum ErrorKind {
ServerFailure,
ServerBusy,
Deadlock,
ResponseFailure,
InvalidStatusCode,
RequestBodyFailure,
ResponseBodyFailure,
FileNotFound,
}
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