Enum jsonrpc_client_http::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Hyper(Error), Uri(UriError), TransportError, HttpError(StatusCode), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Hyper(Error)
Uri(UriError)
TransportError
HttpError(StatusCode)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.