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