pub enum ErrorKind {
    Io(Error),
    StringDecoding(Vec<u8>),
    NoTag,
    Parsing,
    InvalidInput,
    UnsupportedFeature,
}
Expand description

Kinds of errors that may occur while performing metadata operations.

Variants

Io(Error)

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

StringDecoding(Vec<u8>)

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

NoTag

An error kind indicating that the reader does not contain an ID3 tag.

Parsing

An error kind indicating that parsing of some binary data has failed.

InvalidInput

An error kind indicating that some input to a function was invalid.

UnsupportedFeature

An error kind indicating that a feature is not supported.

Trait Implementations

Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

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.