pub enum LofiError {
BitDepth(String),
SampleRate(String),
Noise(String),
Processing(String),
}Expand description
Errors that can occur during lo-fi audio processing.
Variants§
BitDepth(String)
Invalid bit depth configuration.
SampleRate(String)
Invalid sample rate configuration.
Noise(String)
Noise generation error.
Processing(String)
General processing error.
Trait Implementations§
Source§impl Error for LofiError
impl Error for LofiError
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 LofiError
impl RefUnwindSafe for LofiError
impl Send for LofiError
impl Sync for LofiError
impl Unpin for LofiError
impl UnsafeUnpin for LofiError
impl UnwindSafe for LofiError
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