Enum rofl::CaptionError [] [src]

pub enum CaptionError<Tl = TemplateLoader, Fl = FontLoader> where
    Tl: Loader<Item = Template>,
    Fl: Loader<Item = Font>, 
{ Template(String, Tl::Err), Font(String, Fl::Err), Encode(Error), }

Error that may occur during the captioning.

Variants

Error while loading the template.

Error while loading the font.

Error while encoding the final image macro.

Trait Implementations

impl<Tl, Fl> Error for CaptionError<Tl, Fl> where
    Tl: Loader<Item = Template>,
    Fl: Loader<Item = Font>, 
[src]

A short description of the error. Read more

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

impl<Tl, Fl> Debug for CaptionError<Tl, Fl> where
    Tl: Loader<Item = Template>,
    Fl: Loader<Item = Font>, 
[src]

Formats the value using the given formatter.

impl<Tl, Fl> Display for CaptionError<Tl, Fl> where
    Tl: Loader<Item = Template>,
    Fl: Loader<Item = Font>, 
[src]

Formats the value using the given formatter. Read more