pub enum ChainStatus {
Bootstrap,
Verified,
Legacy,
Broken,
}Expand description
Status enum returned by verify_chain.
Variants§
Bootstrap
Chain has zero transitions (frontier is at owner_epoch 0, running under the bootstrap policy with no governed rotations yet).
Verified
Every transition verifies cleanly against its policy + proposal + bundle inputs.
Legacy
The chain is missing or malformed; the consumer should treat the entry as legacy (pre-v0.144) or refuse trust as the audit posture dictates.
Broken
At least one transition failed verification. The error string accompanies this status.
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
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 ==.Source§impl Serialize for ChainStatus
impl Serialize for ChainStatus
impl Eq for ChainStatus
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
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.