Enum mp4ameta::ErrorKind[][src]

pub enum ErrorKind {
    AtomNotFound(Fourcc),
    DescriptorNotFound(u8),
    Io(Error),
    NoTag,
    Parsing,
    UnknownChannelConfig(u8),
    UnknownDataType(u32),
    UnknownMediaType(u8),
    UnknownVersion(u8),
    Utf8StringDecoding(FromUtf8Error),
    Utf16StringDecoding(FromUtf16Error),
    UnwritableData,
}
Expand description

Kinds of errors that may occur while performing metadata operations.

Variants

AtomNotFound(Fourcc)

An error kind indicating that an atom could not be found. Contains the atom’s identifier.

DescriptorNotFound(u8)

An error kind indicating that a descriptor could not be found. Contains the descriptor’s tag.

Io(Error)

An error kind indicating that an IO error has occurred. Contains the original io::Error.

NoTag

An error kind indicating that the reader does not contain mp4 metadata.

Parsing

An error kind indicating that something wasn’t found,

UnknownChannelConfig(u8)

An error kind indicating that the channel configuration index is unknown. Contains the unknown channel configuration index.

UnknownDataType(u32)

An error kind indicating that the datatype integer describing the typed data is unknown. Contains the unknown datatype.

UnknownMediaType(u8)

An error kind indicating that the media type integer is unknown. Contains the unknown media type.

UnknownVersion(u8)

An error kind indicating that version byte is unknown. Contains the unknown version.

Utf8StringDecoding(FromUtf8Error)

An error kind indicating that a string decoding error has occurred. Contains the invalid data.

Utf16StringDecoding(FromUtf16Error)

An error kind indicating that a string decoding error has occurred.

UnwritableData

An error kind indicating that the data is readonly.

Trait Implementations

Formats the value using the given formatter. Read more

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.