[−][src]Enum lewton::audio::AudioReadError
Variants
If the needed memory isn't addressable by us
This error is returned if a calculation yielded a higher value for an internal buffer size that doesn't fit into the platform's address range. Note that if we "simply" encounter an allocation failure (OOM, etc), we do what libstd does in these cases: crash.
This error is not automatically an error of the format, but rather is due to insufficient decoder hardware.
Trait Implementations
impl Debug for AudioReadError
[src]
impl Display for AudioReadError
[src]
impl Eq for AudioReadError
[src]
impl Error for AudioReadError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<()> for AudioReadError
[src]
fn from(_: ()) -> AudioReadError
[src]
impl From<AudioReadError> for VorbisError
[src]
fn from(err: AudioReadError) -> VorbisError
[src]
impl PartialEq<AudioReadError> for AudioReadError
[src]
fn eq(&self, other: &AudioReadError) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for AudioReadError
[src]
impl StructuralPartialEq for AudioReadError
[src]
Auto Trait Implementations
impl RefUnwindSafe for AudioReadError
impl Send for AudioReadError
impl Sync for AudioReadError
impl Unpin for AudioReadError
impl UnwindSafe for AudioReadError
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,
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.
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>,