Enum id3::ErrorKind [] [src]

pub enum ErrorKind {
    Io(Error),
    ByteOrder(Error),
    StringDecoding(Vec<u8>),
    NoTag,
    UnsupportedVersion(u8),
    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.

ByteOrder(Error)

An error kind indicating that an error occured while parsing data to bytes. Contains the original byteorder::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(u8)

An error kind indicating that the reader contains an unsupported ID3 tag version. Contains the version that was 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]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.