AUDIO
Source snapshot · 11 November 2026

API reference / ravet_audio_file::ConvertedReadAheadFailure

Struct ConvertedReadAheadFailure 

pub struct ConvertedReadAheadFailure<R, F> { /* private fields */ }
Expand description

Failure-owned preparation: reader, fresh-reader factory and producer survive. Preparation performs no reader read/seek or factory call.

Implementations§

§

impl<R, F> ConvertedReadAheadFailure<R, F>

pub fn error(&self) -> &Error

pub fn reader(&self) -> &R

pub fn into_parts(self) -> (R, F, AudioProducer, Error)

Trait Implementations§

§

impl<R, F> Debug for ConvertedReadAheadFailure<R, F>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl<R, F> Display for ConvertedReadAheadFailure<R, F>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl<R, F> Error for ConvertedReadAheadFailure<R, F>

§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · §

fn description(&self) -> &str

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · §

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

§

fn provide<'a>(&'a self, request: &mut Request<'a>)

Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

§

impl<R, F> !RefUnwindSafe for ConvertedReadAheadFailure<R, F>

§

impl<R, F> !UnwindSafe for ConvertedReadAheadFailure<R, F>

§

impl<R, F> Freeze for ConvertedReadAheadFailure<R, F>
where R: Freeze, F: Freeze,

§

impl<R, F> Send for ConvertedReadAheadFailure<R, F>
where R: Send, F: Send,

§

impl<R, F> Sync for ConvertedReadAheadFailure<R, F>
where R: Sync, F: Sync,

§

impl<R, F> Unpin for ConvertedReadAheadFailure<R, F>
where R: Unpin, F: Unpin,

§

impl<R, F> UnsafeUnpin for ConvertedReadAheadFailure<R, F>
where R: UnsafeUnpin, F: UnsafeUnpin,

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<F, T> IntoSample<T> for Fwhere T: FromSample<F>,

§

fn into_sample(self) -> T

§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> ToString for T
where T: Display + ?Sized,

§

fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<T, U> TryFrom<U> for T
where 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>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.