Enum vobsub::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Io(Error), IncompleteInput, MissingKey(&'static str), Parse(String), ReadFile(PathBuf), UnexpectedInput, }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Io(Error)
IncompleteInput
Our input data ended sooner than we expected.
MissingKey(&'static str)
We were unable to find a required key in an *.idx
file.
Parse(String)
We could not parse a value.
ReadFile(PathBuf)
We could not parse a file for some reason.
UnexpectedInput
We have leftover input that we didn't expect.
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.