pub enum MfccError {
InvalidDimensions(String),
InvalidInput(String),
ComputationFailed(String),
}Expand description
Error conditions for MFCC processing and reconstruction.
Enumerates specific failure modes in MFCC delta computation and spectrogram/audio reconstruction, tailored for DSP pipeline diagnostics.
Variants§
InvalidDimensions(String)
Input dimensions are invalid (e.g., empty matrix).
InvalidInput(String)
Input parameters are invalid (e.g., negative width, even width).
ComputationFailed(String)
Numerical computation failure (e.g., overflow in reconstruction).
Trait Implementations§
Source§impl Error for MfccError
impl Error for MfccError
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 MfccError
impl RefUnwindSafe for MfccError
impl Send for MfccError
impl Sync for MfccError
impl Unpin for MfccError
impl UnwindSafe for MfccError
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<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