Macro ockam_core::route [−][src]
macro_rules! route {
($($x : expr), * $(,) ?) => { ... };
}
Expand description
Creates a Route
containing the arguments.
route!
allows Route
s to be defined with the same syntax as array expressions.
let address4: Address = random();
let route = route!["address1", "address2", "address3".to_string(), address4];