pub struct HashConversionError<T: HashType, P: PrimitiveHashType>(/* private fields */);Expand description
Error converting a composite hash into a primitive one, due to type mismatch
Trait Implementations§
Source§impl<T: Clone + HashType, P: Clone + PrimitiveHashType> Clone for HashConversionError<T, P>
impl<T: Clone + HashType, P: Clone + PrimitiveHashType> Clone for HashConversionError<T, P>
Source§fn clone(&self) -> HashConversionError<T, P>
fn clone(&self) -> HashConversionError<T, P>
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<T: Debug + HashType, P: Debug + PrimitiveHashType> Debug for HashConversionError<T, P>
impl<T: Debug + HashType, P: Debug + PrimitiveHashType> Debug for HashConversionError<T, P>
Source§impl<T: HashType, P: PrimitiveHashType> From<HashConversionError<T, P>> for WasmErrorInner
impl<T: HashType, P: PrimitiveHashType> From<HashConversionError<T, P>> for WasmErrorInner
Source§fn from(err: HashConversionError<T, P>) -> Self
fn from(err: HashConversionError<T, P>) -> Self
Converts to this type from the input type.
Source§impl<T: PartialEq + HashType, P: PartialEq + PrimitiveHashType> PartialEq for HashConversionError<T, P>
impl<T: PartialEq + HashType, P: PartialEq + PrimitiveHashType> PartialEq for HashConversionError<T, P>
impl<T: Eq + HashType, P: Eq + PrimitiveHashType> Eq for HashConversionError<T, P>
impl<T: HashType, P: PrimitiveHashType> StructuralPartialEq for HashConversionError<T, P>
Auto Trait Implementations§
impl<T, P> Freeze for HashConversionError<T, P>
impl<T, P> RefUnwindSafe for HashConversionError<T, P>where
P: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, P> Send for HashConversionError<T, P>
impl<T, P> Sync for HashConversionError<T, P>
impl<T, P> Unpin for HashConversionError<T, P>
impl<T, P> UnwindSafe for HashConversionError<T, P>where
P: UnwindSafe,
T: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.