pub enum SamplesError {
Mismatch {
what: &'static str,
given: usize,
n: usize,
},
}Expand description
Why that is not one key per sample.
Variants§
Mismatch
As many keys as samples, and there were not.
Trait Implementations§
Source§impl Clone for SamplesError
impl Clone for SamplesError
Source§fn clone(&self) -> SamplesError
fn clone(&self) -> SamplesError
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 SamplesError
impl Debug for SamplesError
Source§impl Display for SamplesError
impl Display for SamplesError
Source§impl Error for SamplesError
impl Error for SamplesError
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 SamplesError
impl PartialEq for SamplesError
impl Eq for SamplesError
impl StructuralPartialEq for SamplesError
Auto Trait Implementations§
impl Freeze for SamplesError
impl RefUnwindSafe for SamplesError
impl Send for SamplesError
impl Sync for SamplesError
impl Unpin for SamplesError
impl UnsafeUnpin for SamplesError
impl UnwindSafe for SamplesError
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