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,
}

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

impl Debug for ErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.