pub enum MeasurementError {
Symphonia(Error),
Io(Error),
EbuR128(Error),
NoTrack,
UnsupportedFormat,
}Variants§
Trait Implementations§
Source§impl Debug for MeasurementError
impl Debug for MeasurementError
Source§impl Display for MeasurementError
impl Display for MeasurementError
Source§impl Error for MeasurementError
impl Error for MeasurementError
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<Error> for MeasurementError
impl From<Error> for MeasurementError
Source§fn from(source: SymphoniaError) -> Self
fn from(source: SymphoniaError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for MeasurementError
impl From<Error> for MeasurementError
Auto Trait Implementations§
impl Freeze for MeasurementError
impl !RefUnwindSafe for MeasurementError
impl Send for MeasurementError
impl Sync for MeasurementError
impl Unpin for MeasurementError
impl !UnwindSafe for MeasurementError
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
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more