pub enum DenoiseError {
InvalidChannels(u16),
InvalidLength {
len: usize,
channels: u16,
},
}Expand description
Noise-suppression errors.
Variants§
InvalidChannels(u16)
Channel count is out of range (only 1..=2 are supported).
InvalidLength
Interleaved length is not a multiple of the channel count.
Trait Implementations§
Source§impl Clone for DenoiseError
impl Clone for DenoiseError
impl Copy for DenoiseError
Source§impl Debug for DenoiseError
impl Debug for DenoiseError
Source§impl Display for DenoiseError
impl Display for DenoiseError
impl Eq for DenoiseError
Source§impl Error for DenoiseError
impl Error for DenoiseError
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()
Source§impl PartialEq for DenoiseError
impl PartialEq for DenoiseError
impl StructuralPartialEq for DenoiseError
Auto Trait Implementations§
impl Freeze for DenoiseError
impl RefUnwindSafe for DenoiseError
impl Send for DenoiseError
impl Sync for DenoiseError
impl Unpin for DenoiseError
impl UnsafeUnpin for DenoiseError
impl UnwindSafe for DenoiseError
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