# Enum keys::KeyEncodingError

> The encoding is not a known suite or has the wrong length.

`zaun_community_protocol::keys::KeyEncodingError` · Enum

```rust
pub enum KeyEncodingError { … }
```

The encoding is not a known suite or has the wrong length.

## Variants

### `UnknownSuite(u8)`

Suite byte `0x00` or `0x02`–`0xFF`.

### `Length(usize)`

Wrong total length for the suite.

## Trait implementations

`Clone`, `Copy`, `Debug`, `Display`, `Eq`, `Error`, `From<KeyEncodingError>`, `PartialEq`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/keys/enum.KeyEncodingError.html)
