Enum quickdash::operations::CompareError
source · pub enum CompareError {
HashLengthDiffers {
previous_len: usize,
current_len: usize,
},
}
Variants§
Trait Implementations§
source§impl Clone for CompareError
impl Clone for CompareError
source§fn clone(&self) -> CompareError
fn clone(&self) -> CompareError
Returns a copy 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 CompareError
impl Debug for CompareError
source§impl Hash for CompareError
impl Hash for CompareError
source§impl PartialEq<CompareError> for CompareError
impl PartialEq<CompareError> for CompareError
source§fn eq(&self, other: &CompareError) -> bool
fn eq(&self, other: &CompareError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CompareError
impl Eq for CompareError
impl StructuralEq for CompareError
impl StructuralPartialEq for CompareError
Auto Trait Implementations§
impl RefUnwindSafe for CompareError
impl Send for CompareError
impl Sync for CompareError
impl Unpin for CompareError
impl UnwindSafe for CompareError
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.