Enum systemd_parser::errors::ParserError
[−]
pub enum ParserError { ParseError(Vec<ParseErrorInternal>), UnitGrammarError(String), }
Variants
ParseError(Vec<ParseErrorInternal>)
UnitGrammarError(String)
Trait Implementations
impl Debug for ParserError
[src]
impl Display for ParserError
impl Error for ParserError
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Vec<ParseErrorInternal>> for ParserError
fn from(errors: Vec<ParseErrorInternal>) -> ParserError
Performs the conversion.
impl From<String> for ParserError
fn from(err: String) -> ParserError
Performs the conversion.