[][src]Enum grin_chain::types::BlockStatus

pub enum BlockStatus {
    Next,
    Fork,
    Reorg,
}

Status of an accepted block.

Variants

Block is the "next" block, updating the chain head.

Block does not update the chain head and is a fork.

Block updates the chain head via a (potentially disruptive) "reorg". Previous block was not our previous chain head.

Trait Implementations

impl Clone for BlockStatus
[src]

Performs copy-assignment from source. Read more

impl PartialEq<BlockStatus> for BlockStatus
[src]

This method tests for !=.

impl Debug for BlockStatus
[src]

Auto Trait Implementations

impl Send for BlockStatus

impl Sync for BlockStatus

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SafeBorrow for T where
    T: ?Sized

impl<'a, T> DefaultFeatures for T where
    T: 'a + Send + Sync + Clone

impl<'a, T> NonSyncFeatures for T where
    T: 'a + Clone

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> UnsafeAny for T where
    T: Any

impl<T> Erased for T

impl<T> Same for T

Should always be Self