Enum ethcore::client::BlockStatus
source · [−]pub enum BlockStatus {
InChain,
Queued,
Bad,
Unknown,
}
Expand description
General block status
Variants
InChain
Part of the blockchain.
Queued
Queued for import.
Bad
Known as bad.
Unknown
Unknown.
Trait Implementations
sourceimpl Debug for BlockStatus
impl Debug for BlockStatus
sourceimpl Into<BlockStatus> for Status
impl Into<BlockStatus> for Status
sourcefn into(self) -> BlockStatus
fn into(self) -> BlockStatus
Performs the conversion.
sourceimpl PartialEq<BlockStatus> for BlockStatus
impl PartialEq<BlockStatus> for BlockStatus
impl Eq for BlockStatus
impl StructuralEq for BlockStatus
impl StructuralPartialEq for BlockStatus
Auto Trait Implementations
impl RefUnwindSafe for BlockStatus
impl Send for BlockStatus
impl Sync for BlockStatus
impl Unpin for BlockStatus
impl UnwindSafe for BlockStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.