Enum ciborium_ll::Error[][src]

pub enum Error<T> {
    Io(T),
    Syntax(usize),
}
Expand description

An error that occurred while decoding

Variants

Io(T)

Tuple Fields

0: T

An error occurred while reading bytes

Contains the underlying error reaturned while reading.

Syntax(usize)

Tuple Fields

0: usize

An error occurred while parsing bytes

Contains the offset into the stream where the syntax error occurred.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.