Enum ethcore::engines::ForkChoice
[−]
[src]
pub enum ForkChoice { New, Old, }
Fork choice.
Variants
New
Choose the new block.
Old
Choose the current best block.
Trait Implementations
impl Debug for ForkChoice
[src]
impl Debug for ForkChoice
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ForkChoice
[src]
impl PartialEq for ForkChoice
fn eq(&self, __arg_0: &ForkChoice) -> bool
[src]
fn eq(&self, __arg_0: &ForkChoice) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ForkChoice
[src]
impl Eq for ForkChoice
Auto Trait Implementations
impl Send for ForkChoice
impl Send for ForkChoice
impl Sync for ForkChoice
impl Sync for ForkChoice