Enum cbor::WriteError [] [src]

pub enum WriteError {
    InvalidMapKey {
        got: Option<Type>,
    },
}

An error produced by writing CBOR data.

Variants

Occurs when writing a map key that isn't a Unicode string.

Fields of InvalidMapKey

The received type (if that information is available).

Trait Implementations

impl Clone for WriteError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for WriteError
[src]

Formats the value using the given formatter.

impl Display for WriteError
[src]

Formats the value using the given formatter. Read more