Type Alias chain_impl_mockchain::chaintypes::ConsensusVersion  
source · pub type ConsensusVersion = ConsensusType;Aliased Type§
enum ConsensusVersion {
    Bft,
    GenesisPraos,
}Variants§
Implementations§
Trait Implementations§
source§impl Arbitrary for ConsensusType
 
impl Arbitrary for ConsensusType
source§impl Clone for ConsensusType
 
impl Clone for ConsensusType
source§fn clone(&self) -> ConsensusType
 
fn clone(&self) -> ConsensusType
Returns a copy 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 ConfigParamVariant for ConsensusType
 
impl ConfigParamVariant for ConsensusType
source§impl Debug for ConsensusType
 
impl Debug for ConsensusType
source§impl Display for ConsensusType
 
impl Display for ConsensusType
source§impl FromStr for ConsensusType
 
impl FromStr for ConsensusType
source§impl Hash for ConsensusType
 
impl Hash for ConsensusType
source§impl Ord for ConsensusType
 
impl Ord for ConsensusType
source§fn cmp(&self, other: &ConsensusType) -> Ordering
 
fn cmp(&self, other: &ConsensusType) -> Ordering
1.21.0 · 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<ConsensusType> for ConsensusType
 
impl PartialEq<ConsensusType> for ConsensusType
source§fn eq(&self, other: &ConsensusType) -> bool
 
fn eq(&self, other: &ConsensusType) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ConsensusType> for ConsensusType
 
impl PartialOrd<ConsensusType> for ConsensusType
source§fn partial_cmp(&self, other: &ConsensusType) -> Option<Ordering>
 
fn partial_cmp(&self, other: &ConsensusType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read more