name

Macro name 

Source
macro_rules! name {
    ($s:expr) => { ... };
}
Expand description

Construct a Name from an NDN URI string literal.

let prefix = name!("/iperf");
assert_eq!(prefix.to_string(), "/iperf");

Panics at runtime if the string is not a valid NDN name.