Macro genet_sdk::token[][src]

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

Returns a token corresponded with the given string.

Examples

let tk = token!("tcp");