pub struct InvalidNumSamplesError(/* private fields */);Expand description
Error returned when ‘NumSamples’ is given a value below lower bound.
Trait Implementations§
Source§impl Clone for InvalidNumSamplesError
impl Clone for InvalidNumSamplesError
Source§fn clone(&self) -> InvalidNumSamplesError
fn clone(&self) -> InvalidNumSamplesError
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 InvalidNumSamplesError
impl Debug for InvalidNumSamplesError
Source§impl Display for InvalidNumSamplesError
impl Display for InvalidNumSamplesError
Source§impl Error for InvalidNumSamplesError
impl Error for InvalidNumSamplesError
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()
impl Copy for InvalidNumSamplesError
Auto Trait Implementations§
impl Freeze for InvalidNumSamplesError
impl RefUnwindSafe for InvalidNumSamplesError
impl Send for InvalidNumSamplesError
impl Sync for InvalidNumSamplesError
impl Unpin for InvalidNumSamplesError
impl UnwindSafe for InvalidNumSamplesError
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