Enum common_types::block_status::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 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