pub enum ResampleError {
InvalidInputBufferSize,
InvalidOutputBufferSize,
}Expand description
Errors the process function can throw.
Variants§
InvalidInputBufferSize
Input buffer size is invalid.
InvalidOutputBufferSize
Output buffer size is invalid.
Trait Implementations§
Source§impl Clone for ResampleError
impl Clone for ResampleError
Source§fn clone(&self) -> ResampleError
fn clone(&self) -> ResampleError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResampleError
impl Debug for ResampleError
Source§impl Display for ResampleError
impl Display for ResampleError
Source§impl Error for ResampleError
Available on non-crate feature no_std only.
impl Error for ResampleError
Available on non-crate feature
no_std only.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 Hash for ResampleError
impl Hash for ResampleError
Source§impl Ord for ResampleError
impl Ord for ResampleError
Source§fn cmp(&self, other: &ResampleError) -> Ordering
fn cmp(&self, other: &ResampleError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResampleError
impl PartialEq for ResampleError
Source§impl PartialOrd for ResampleError
impl PartialOrd for ResampleError
impl Copy for ResampleError
impl Eq for ResampleError
impl StructuralPartialEq for ResampleError
Auto Trait Implementations§
impl Freeze for ResampleError
impl RefUnwindSafe for ResampleError
impl Send for ResampleError
impl Sync for ResampleError
impl Unpin for ResampleError
impl UnwindSafe for ResampleError
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