pub enum HashErrorCode {
HashMismatch,
UnknownParent,
ComputeFailure,
}Expand description
Machine-readable codes for HashError.
Variants§
HashMismatch
The stored hash on an event does not match its computed hash.
UnknownParent
An event references a parent hash not found in the event set.
ComputeFailure
The hash could not be computed (e.g., serialization failure).
Trait Implementations§
Source§impl Clone for HashErrorCode
impl Clone for HashErrorCode
Source§fn clone(&self) -> HashErrorCode
fn clone(&self) -> HashErrorCode
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 HashErrorCode
impl Debug for HashErrorCode
Source§impl PartialEq for HashErrorCode
impl PartialEq for HashErrorCode
impl Copy for HashErrorCode
impl Eq for HashErrorCode
impl StructuralPartialEq for HashErrorCode
Auto Trait Implementations§
impl Freeze for HashErrorCode
impl RefUnwindSafe for HashErrorCode
impl Send for HashErrorCode
impl Sync for HashErrorCode
impl Unpin for HashErrorCode
impl UnsafeUnpin for HashErrorCode
impl UnwindSafe for HashErrorCode
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§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.