pub enum AudioDecoderError {
Backend(String),
BufferReadFailed,
InvalidMediaFormat,
InvalidSample,
StateChangeFailed,
}
Variants§
Backend(String)
Backend specific error.
BufferReadFailed
Could not read the audio buffer content.
InvalidMediaFormat
The media trying to be decoded has an invalid format.
InvalidSample
An invalid sample was found while decoding the audio.
StateChangeFailed
Could not move to a different state.
Trait Implementations§
source§impl Debug for AudioDecoderError
impl Debug for AudioDecoderError
source§impl PartialEq for AudioDecoderError
impl PartialEq for AudioDecoderError
source§fn eq(&self, other: &AudioDecoderError) -> bool
fn eq(&self, other: &AudioDecoderError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AudioDecoderError
Auto Trait Implementations§
impl Freeze for AudioDecoderError
impl RefUnwindSafe for AudioDecoderError
impl Send for AudioDecoderError
impl Sync for AudioDecoderError
impl Unpin for AudioDecoderError
impl UnwindSafe for AudioDecoderError
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