Enum term::terminfo::Error [] [src]

pub enum Error {
    TermUnset,
    MalformedTerminfo(String),
    IoError(Error),
}
[]

A terminfo creation error.

Variants

TermUnset
[]

TermUnset Indicates that the environment doesn't include enough information to find the terminfo entry.

MalformedTerminfo(String)
[]

MalformedTerminfo indicates that parsing the terminfo entry failed.

IoError(Error)
[]

io::Error forwards any io::Errors encountered when finding or reading the terminfo entry.

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl Error for Error
[src]

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.

impl Display for Error
[src]

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

Formats the value using the given formatter.