Enum tr1pd::storage::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Blocks(ErrorKind), Io(Error), CorruptedEntry(Vec<u8>), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Blocks(ErrorKind)
Io(Error)
CorruptedEntry(Vec<u8>)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.