pub enum FormatError {
NotFlac,
NotMp3,
Malformed,
TooLarge,
NotMp4,
NotWav,
InvalidLayout(LayoutError),
ProducerBug(&'static str),
ArtRead {
art_id: i64,
},
}Variants§
NotFlac
NotMp3
Malformed
TooLarge
NotMp4
NotWav
InvalidLayout(LayoutError)
ProducerBug(&'static str)
ArtRead
Trait Implementations§
Source§impl Debug for FormatError
impl Debug for FormatError
Source§impl Display for FormatError
impl Display for FormatError
impl Eq for FormatError
Source§impl Error for FormatError
impl Error for FormatError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<FormatError> for Mp4ScanError
impl From<FormatError> for Mp4ScanError
Source§fn from(source: FormatError) -> Self
fn from(source: FormatError) -> Self
Converts to this type from the input type.
Source§impl From<LayoutError> for FormatError
impl From<LayoutError> for FormatError
Source§fn from(source: LayoutError) -> Self
fn from(source: LayoutError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FormatError
impl PartialEq for FormatError
Source§fn eq(&self, other: &FormatError) -> bool
fn eq(&self, other: &FormatError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FormatError
Auto Trait Implementations§
impl Freeze for FormatError
impl RefUnwindSafe for FormatError
impl Send for FormatError
impl Sync for FormatError
impl Unpin for FormatError
impl UnsafeUnpin for FormatError
impl UnwindSafe for FormatError
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