pub enum ErrorKind {
ServerFailure,
ResponseFailure,
InvalidStatusCode,
RequestBodyFailure,
ResponseBodyFailure,
FileNotFound,
}
Expand description
The type of an error
Variants§
ServerFailure
The server is not running
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