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

MalformedTerminfo indicates that parsing the terminfo entry failed.

IoError

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

Trait Implementations

impl Error for Error

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl Display for Error

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

Derived Implementations

impl Debug for Error

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