Enum rofl::TemplateError [] [src]

pub enum TemplateError {
    File(Error),
    OpenImage(ImageError),
    DecodeAnimatedGif(DecodeError),
}

Error that may occur during template load.

Variants

Error while loading the template file.

Error when opening a template image didn't succeed.

Error when opening a template's animated GIF didn't succeed.

Trait Implementations

impl Debug for TemplateError
[src]

Formats the value using the given formatter.

impl Display for TemplateError
[src]

Formats the value using the given formatter. Read more

impl Error for TemplateError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for TemplateError
[src]

Performs the conversion.

impl From<ImageError> for TemplateError
[src]

Performs the conversion.

impl From<DecodeError> for TemplateError
[src]

Performs the conversion.