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

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

🔬 This is a nightly-only experimental API. (`rustc_private`)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?

A terminfo creation error.

## Variants

`TermUnset`
🔬 This is a nightly-only experimental API. (`rustc_private`)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?

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

`MalformedTerminfo(String)`
🔬 This is a nightly-only experimental API. (`rustc_private`)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?

MalformedTerminfo indicates that parsing the terminfo entry failed.

`IoError(Error)`
🔬 This is a nightly-only experimental API. (`rustc_private`)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?

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`

[src]

Formats the value using the given formatter. Read more

###

`impl Error for Error`

[src]

####

`fn description(&self) -> &str`

[src]

A short description of the error. Read more

####

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

[src]

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

###

`impl Display for Error`

[src]

####

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

[src]

Formats the value using the given formatter. Read more

## Auto Trait Implementations

###

`impl Send for Error`

###

`impl Sync for Error`

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)