pub enum TruthCeiling {
None,
Unknown,
Advisory,
ObservedLocal,
TrustedLocalLedger,
ExternallyAnchored,
AuthorityGrade,
}Expand description
Maximum claim strength permitted by the snapshot’s proof and runtime context.
Variants§
None
No claims permitted.
Unknown
Ceiling not established.
Advisory
Advisory claims only.
ObservedLocal
Locally observed claims.
TrustedLocalLedger
Claims backed by a trusted local ledger.
ExternallyAnchored
Claims externally anchored.
AuthorityGrade
Authority-grade claims.
Trait Implementations§
Source§impl Clone for TruthCeiling
impl Clone for TruthCeiling
Source§fn clone(&self) -> TruthCeiling
fn clone(&self) -> TruthCeiling
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 TruthCeiling
impl Debug for TruthCeiling
Source§impl<'de> Deserialize<'de> for TruthCeiling
impl<'de> Deserialize<'de> for TruthCeiling
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for TruthCeiling
impl Ord for TruthCeiling
Source§fn cmp(&self, other: &TruthCeiling) -> Ordering
fn cmp(&self, other: &TruthCeiling) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TruthCeiling
impl PartialEq for TruthCeiling
Source§fn eq(&self, other: &TruthCeiling) -> bool
fn eq(&self, other: &TruthCeiling) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TruthCeiling
impl PartialOrd for TruthCeiling
Source§impl Serialize for TruthCeiling
impl Serialize for TruthCeiling
impl Eq for TruthCeiling
impl StructuralPartialEq for TruthCeiling
Auto Trait Implementations§
impl Freeze for TruthCeiling
impl RefUnwindSafe for TruthCeiling
impl Send for TruthCeiling
impl Sync for TruthCeiling
impl Unpin for TruthCeiling
impl UnsafeUnpin for TruthCeiling
impl UnwindSafe for TruthCeiling
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