[][src]Enum id3::ErrorKind

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]

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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