Enum ethcore::client::BlockStatus
[−]
pub enum BlockStatus { InChain, Queued, Bad, Pending, Unknown, }
General block status
Variants
InChain
Part of the blockchain.
Queued
Queued for import.
Bad
Known as bad.
Pending
Pending block.
Unknown
Unknown.
Trait Implementations
impl Eq for BlockStatus
impl Eq for BlockStatus
impl PartialEq<BlockStatus> for BlockStatus
impl PartialEq<BlockStatus> for BlockStatus
fn eq(&self, __arg_0: &BlockStatus) -> bool
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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for BlockStatus
impl Debug for BlockStatus
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Into<BlockStatus> for Status
[src]
impl Into<BlockStatus> for Status
fn into(self) -> BlockStatus
[src]
fn into(self) -> BlockStatus
Performs the conversion.
Auto Trait Implementations
impl Send for BlockStatus
impl Send for BlockStatus
impl Sync for BlockStatus
impl Sync for BlockStatus