[][src]Enum mp4ameta::ErrorKind

pub enum ErrorKind {
    AtomNotFound([u8; 4]),
    Io(Error),
    NoTag,
    Parsing,
    UnknownDataType(i32),
    UnWritableDataType,
    Utf8StringDecoding(FromUtf8Error),
    Utf16StringDecoding(FromUtf16Error),
}

Kinds of errors that may occur while performing metadata operations.

Variants

AtomNotFound([u8; 4])

An error kind indicating that an atom could not be found. Contains the atom's head.

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 an error accured during parsing.

UnknownDataType(i32)

An error kind indicating that the Content::TypedData contains an unknown datatype. Contains the unknown datatype code.

UnWritableDataType

An error kind indicating that the data can't be written to a file.

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.

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.