---
title: OpenError
summary: Errors thrown when a config store could not be opened.
url: https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/config_store/enum.OpenError/
---

**Kind:** Enum  
**Module:** [config_store](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/config_store/)  
**Package:** fastly 0.13.1  
**Source:** https://docs.rs/crate/fastly/0.13.1/source/src/config_store/handle.rs#215

```rust
#[non_exhaustive]
pub enum OpenError {
    ConfigStoreDoesNotExist,
    NameEmpty,
    NameTooLong,
    NameInvalid,
}
```

Errors thrown when a config store could not be opened.

## Variants

### ConfigStoreDoesNotExist

No config store with this name was found.

### NameEmpty

A config store name was empty.

### NameTooLong

A config store name was too long.

### NameInvalid

A config store name was invalid.

## Trait implementations

### impl Debug for OpenError

#### fmt

**Source:** https://docs.rs/crate/fastly/0.13.1/source/src/config_store/handle.rs#213

```rust
fn fmt(&self, f: &mut Formatter<'_>) -> Result
```

**Parameters**

- `self`: `&Self`
- `f`: `&mut $crate::fmt::Formatter`

**Returns**

`$crate::fmt::Result`

### impl Display for OpenError

#### fmt

**Source:** https://docs.rs/crate/fastly/0.13.1/source/src/config_store/handle.rs#213

```rust
fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result
```

**Parameters**

- `self`: `&Self`
- `__formatter`: `&mut ::core::fmt::Formatter`

**Returns**

`::core::fmt::Result`

## Auto trait implementations

- `Freeze`
- `RefUnwindSafe`
- `Send`
- `Sync`
- `Unpin`
- `UnsafeUnpin`
- `UnwindSafe`

## Blanket implementations

- `Any`
- `Borrow<T>`
- `BorrowMut<T>`
- `Downcast`
- `DowncastSync`
- `ErasedDestructor`
- `From<T>`
- `Into<U>`
- `IntoEither`
- `Same`
- `ToString`
- `TryFrom<U>`
- `TryInto<U>`
