pub enum Mp3Error {
InvalidData(&'static str),
Unsupported(&'static str),
}Variants§
InvalidData(&'static str)
Invalid or unknown data was encountered when reading the stream.
Unsupported(&'static str)
An unsupported MP3 feature is used in this MP3 stream.
Trait Implementations§
Source§impl Error for Mp3Error
impl Error for Mp3Error
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for Mp3Error
impl RefUnwindSafe for Mp3Error
impl Send for Mp3Error
impl Sync for Mp3Error
impl Unpin for Mp3Error
impl UnsafeUnpin for Mp3Error
impl UnwindSafe for Mp3Error
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