Enum mustache::ParserError
[−]
[src]
pub enum ParserError {
BadClosingTag(char, char),
UnclosedTag,
UnclosedSection(String),
UnbalancedUnescapeTag,
EmptyTag,
EarlySectionClose(String),
MissingSetDelimeterClosingTag,
InvalidSetDelimeterSyntax,
// some variants omitted
}Error type to represent parsing failure.
This type is not intended to be matched exhaustively as new variants may be added in future without a version bump.
Variants
BadClosingTag(char, char)UnclosedTagUnclosedSection(String)UnbalancedUnescapeTagEmptyTagEarlySectionClose(String)MissingSetDelimeterClosingTagInvalidSetDelimeterSyntax
Trait Implementations
impl From<Error> for Error[src]
impl Debug for Error[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for Error[src]
fn eq(&self, __arg_0: &Error) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Error) -> bool[src]
This method tests for !=.
impl StdError for Error[src]
fn description(&self) -> &'static str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
The lower-level cause of this error, if any. Read more