Enum id3::ErrorKind[][src]

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

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.

UnsupportedVersion(u8u8)

An error kind indicating that the reader contains an unsupported ID3 tag version. Contains the major and minor versions that were detected in the tag.

Parsing

An error kind indicating that parsing error has occurred.

InvalidInput

An error kind indicating that some input was invalid.

UnsupportedFeature

An error kind indicating that a feature is not supported.

Trait Implementations

impl Debug for ErrorKind[src]

impl Display 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> ToString for T where
    T: Display + ?Sized
[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.