Enum mustache::Error
[−]
[src]
pub enum Error { InvalidStr, NoFilename, Io(StdIoError), Parser(Error), Encoder(Error), // some variants omitted }
Error type for any error within this library.
This type is not intended to be matched exhaustively as new variants may be added in future without a version bump.
Variants
InvalidStr
NoFilename
Io(StdIoError)
Parser(Error)
Encoder(Error)
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl StdError for Error
[src]
fn description(&self) -> &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
impl From<StdIoError> for Error
[src]
fn from(err: StdIoError) -> Error
[src]
Performs the conversion.