pub enum DecimatorError {
NoTick,
ExtraTick,
}Expand description
Error returned by TryDecimator when the inner decimator does not tick
exactly once per input chunk.
Variants§
NoTick
No output sample was produced for the chunk.
ExtraTick
More than one output sample was produced for the chunk.
Trait Implementations§
Source§impl Clone for DecimatorError
impl Clone for DecimatorError
Source§fn clone(&self) -> DecimatorError
fn clone(&self) -> DecimatorError
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 DecimatorError
Source§impl Debug for DecimatorError
impl Debug for DecimatorError
impl Eq for DecimatorError
Source§impl PartialEq for DecimatorError
impl PartialEq for DecimatorError
Source§fn eq(&self, other: &DecimatorError) -> bool
fn eq(&self, other: &DecimatorError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecimatorError
Auto Trait Implementations§
impl Freeze for DecimatorError
impl RefUnwindSafe for DecimatorError
impl Send for DecimatorError
impl Sync for DecimatorError
impl Unpin for DecimatorError
impl UnsafeUnpin for DecimatorError
impl UnwindSafe for DecimatorError
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