Enum id3::ErrorKind [−][src]
pub enum ErrorKind { Io(Error), StringDecoding(Vec<u8>), NoTag, UnsupportedVersion(u8, 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.
An error kind indicating that a string decoding error has occurred. Contains the invalid bytes.
An error kind indicating that the reader does not contain an ID3 tag.
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.
An error kind indicating that parsing error has occurred.
An error kind indicating that some input was invalid.
An error kind indicating that a feature is not supported.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl !UnwindSafe for ErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,