pub enum DenoiseError {
InvalidChannels(u16),
InvalidLength {
len: usize,
channels: u16,
},
}Expand description
ノイズ抑制のエラー型。
Variants§
Trait Implementations§
Source§impl Clone for DenoiseError
impl Clone for DenoiseError
Source§fn clone(&self) -> DenoiseError
fn clone(&self) -> DenoiseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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
Source§fn eq(&self, other: &DenoiseError) -> bool
fn eq(&self, other: &DenoiseError) -> bool
Tests for
self and other values to be equal, and is used by ==.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