Macro aerospike::as_key [] [src]

macro_rules! as_key {
    ($ns:expr, $set:expr, $val:expr) => { ... };
}

Construct a new key given a namespace, a set name and a user key.

Panics

Only integers, strings and blobs (Vec<u8>) can be used as user keys. The macro will panic if any other value type is passed.