Enum reproto_path_parser::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Syntax(Option<(usize, usize)>, Vec<String>), Parse(Option<(usize, usize)>, &'static str), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Syntax(Option<(usize, usize)>, Vec<String>)
Parse(Option<(usize, usize)>, &'static str)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.