Enum cursive::theme::Error[][src]

pub enum Error {
    Io(Error),
    Parse(Error),
}
Expand description

Possible error returned when loading a theme.

Variants

Io(Error)

Tuple Fields

0: Error

An error occured when reading the file.

Parse(Error)

Tuple Fields

0: Error
This is supported on crate feature toml only.

An error occured when parsing the toml content.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Calls the given closure and return the result. Read more

Calls the given closure on self.

Calls the given closure on self.

Calls the given closure if condition == true.