Enum sysadmin_bindings::error_chain_generated_errors::ErrorKind
[−]
pub enum ErrorKind {
Msg(String),
ProtobufError(ProtobufError),
Io(Error),
JsonSerde(Error),
SysadminConnectionError(String),
SysadminProtocolError(String),
// some variants omitted
}The kind of an error.
Variants
Msg(String)A convenient variant for String.
ProtobufError(ProtobufError)Io(Error)JsonSerde(Error)SysadminConnectionError(String)SysadminProtocolError(String)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.