# Enum bitflags::__core::env::VarError [−] [src]

    pub enum VarError {
        NotPresent,
        NotUnicode(OsString),
    }

1.0.0

Possible errors from the `env::var` method.

## Variants

`NotPresent` | The specified environment variable was not present in the current process's environment. |
`NotUnicode` | The specified environment variable was found, but it did not contain valid unicode data. The found data is returned as a payload of this variant. |

## Trait Implementations

### `impl Display for VarError`

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

### `impl Error for VarError`

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

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

### Derived Implementations

### `impl Clone for VarError`

#### `fn clone(&self) -> VarError`

#### `fn clone_from(&mut self, source: &Self)`

### `impl Eq for VarError`

### `impl PartialEq<VarError> for VarError`

#### `fn eq(&self, __arg_0: &VarError) -> bool`

#### `fn ne(&self, __arg_0: &VarError) -> bool`

### `impl Debug for VarError`

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## 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`)