Enum il2_iltags::tags::ErrorKind[][src]

pub enum ErrorKind {
    UnknownTag,
    UnsupportedTag,
    CorruptedData,
    TagTooLarge,
    UnexpectedTagType,
    UnableToSerialize,
    IOError(ErrorKind),
    Boxed(Box<dyn Error>),
}
Expand description

Definition of the errors from this package.

Variants

UnknownTag

If an unknown tag is found.

UnsupportedTag

If an unsupported tag is found.

CorruptedData

If the tag data is corrupted.

TagTooLarge

If the tag cannot be handled due to memory constraints.

UnexpectedTagType

If an unexpected tag type is found in the data stream.

UnableToSerialize

If the tag cannot be serialized.

IOError(ErrorKind)

Wraper to I/O errors.

Tuple Fields of IOError

0: ErrorKind
Boxed(Box<dyn Error>)

Wrapper to boxed errors.

Tuple Fields of Boxed

0: Box<dyn Error>

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.

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.