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§
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more