Macro exonum::context_key [] [src]

macro_rules! context_key {
    ($name:expr) => { ... };
}

Constructs a ContextKey from a given name.

Examples

#[macro_use]
extern crate exonum;
use exonum::helpers::fabric::ContextKey;

const NAME: ContextKey<String> = context_key!("name");