macro_rules! instant {
    ($category:expr, $name:expr, $scope:expr $(, $key:expr => $val:expr)*) => { ... };
}
Expand description

Convenience macro for the instant function.

Example:

instant!("foo", "bar", Scope::Process, "x" => 5, "y" => "boo");

is equivalent to

instant(cstr!("foo"), cstr!("bar"), Scope::Process,
    &[ArgValue::of("x", 5), ArgValue::of("y", "boo")]);