[][src]Trait exonum::blockchain::BlockHeaderKey

pub trait BlockHeaderKey {
    type Value: BinaryValue;

    const NAME: &'static str;
}

Trait that represents a key in block header entry map. Provides a mapping between NAME of the entry and its value.

Examples

See Block::get_entry().

Associated Types

type Value: BinaryValue

Type of the value associated with this key.

Loading content...

Associated Constants

const NAME: &'static str

Key name.

Loading content...

Implementors

impl BlockHeaderKey for Epoch[src]

type Value = Height

impl BlockHeaderKey for ProposerId[src]

type Value = ValidatorId

impl BlockHeaderKey for SkipFlag[src]

type Value = ()

Loading content...