pub enum ChainStatus {
Intact,
Broken {
seq: i64,
detail: String,
},
}Expand description
The result of verifying the hash chain.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ChainStatus
impl Clone for ChainStatus
Source§fn clone(&self) -> ChainStatus
fn clone(&self) -> ChainStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChainStatus
impl Debug for ChainStatus
impl Eq for ChainStatus
Source§impl PartialEq for ChainStatus
impl PartialEq for ChainStatus
Source§fn eq(&self, other: &ChainStatus) -> bool
fn eq(&self, other: &ChainStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChainStatus
Auto Trait Implementations§
impl Freeze for ChainStatus
impl RefUnwindSafe for ChainStatus
impl Send for ChainStatus
impl Sync for ChainStatus
impl Unpin for ChainStatus
impl UnsafeUnpin for ChainStatus
impl UnwindSafe for ChainStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.