Enum ethcore::client::StateOrBlock [] [src]

pub enum StateOrBlock {
    State(Box<StateInfo>),
    Block(BlockId),
}

State information to be used during client query

Variants

State to be used, may be pending

Id of an existing block from a chain to get state from

Trait Implementations

impl<S: StateInfo + 'static> From<S> for StateOrBlock
[src]

Performs the conversion.

impl From<Box<StateInfo>> for StateOrBlock
[src]

Performs the conversion.

impl From<BlockId> for StateOrBlock
[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for StateOrBlock

impl !Sync for StateOrBlock