pub enum SampleError {
InvalidValue,
InvalidSampleRate,
}Variants§
Trait Implementations§
Source§impl Clone for SampleError
impl Clone for SampleError
Source§fn clone(&self) -> SampleError
fn clone(&self) -> SampleError
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 moreSource§impl Debug for SampleError
impl Debug for SampleError
Source§impl PartialEq for SampleError
impl PartialEq for SampleError
Source§fn eq(&self, other: &SampleError) -> bool
fn eq(&self, other: &SampleError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SampleError
impl Eq for SampleError
impl StructuralPartialEq for SampleError
Auto Trait Implementations§
impl Freeze for SampleError
impl RefUnwindSafe for SampleError
impl Send for SampleError
impl Sync for SampleError
impl Unpin for SampleError
impl UnsafeUnpin for SampleError
impl UnwindSafe for SampleError
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