Enum handlebars::TemplateFileError []

pub enum TemplateFileError {
    TemplateError(TemplateError),
    IOError(IOError),
}

Variants

TemplateError(TemplateError)IOError(IOError)

Trait Implementations

impl Debug for TemplateFileError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for TemplateFileError

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for TemplateFileError

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<TemplateError> for TemplateFileError

fn from(err: TemplateError) -> TemplateFileError

Performs the conversion.

impl From<IOError> for TemplateFileError

fn from(err: IOError) -> TemplateFileError

Performs the conversion.