Enum common_types::security_level::SecurityLevel [−][src]
Indication of how secure the chain is.
Variants
All blocks from genesis to chain head are known to have valid state transitions and PoW.
All blocks from genesis to chain head are known to have a valid PoW.
PartialProofOfWork(BlockNumber)Some recent headers (the argument) are known to have a valid PoW.
Implementations
impl SecurityLevel[src]
Trait Implementations
impl Clone for SecurityLevel[src]
fn clone(&self) -> SecurityLevel[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for SecurityLevel[src]
impl Debug for SecurityLevel[src]
impl Eq for SecurityLevel[src]
impl Hash for SecurityLevel[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<SecurityLevel> for SecurityLevel[src]
fn eq(&self, other: &SecurityLevel) -> bool[src]
fn ne(&self, other: &SecurityLevel) -> bool[src]
impl StructuralEq for SecurityLevel[src]
impl StructuralPartialEq for SecurityLevel[src]
Auto Trait Implementations
impl RefUnwindSafe for SecurityLevel
impl Send for SecurityLevel
impl Sync for SecurityLevel
impl Unpin for SecurityLevel
impl UnwindSafe for SecurityLevel
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,