[][src]Macro actyxos_sdk::tag

macro_rules! tag {
    ($lit:tt) => { ... };
}

Macro for constructing a Tag literal.

This is how it works:

use actyxos_sdk::{tag, event::Tag};
let tag: Tag = tag!("abc");

This does not compile:

This example deliberately fails to compile
use actyxos_sdk::{tag, event::Tag};
let tag: Tag = tag!("");