Enum ethcore::block_status::BlockStatus
[−]
[src]
pub enum BlockStatus { InChain, Queued, Bad, Unknown, }
General block status
Variants
InChain
Part of the blockchain.
Queued
Queued for import.
Bad
Known as bad.
Unknown
Unknown.
Trait Implementations
impl Debug for BlockStatus
[src]
impl Eq for BlockStatus
[src]
impl PartialEq for BlockStatus
[src]
fn eq(&self, __arg_0: &BlockStatus) -> 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
This method tests for !=
.
impl From<QueueStatus> for BlockStatus
[src]
fn from(status: QueueStatus) -> Self
Performs the conversion.