macro_rules! cycle { ($($x:expr),*) => { ... }; ($($x:expr,)*) => { ... }; }
Expand description
a Responder that cycles through a list of responses.
The macro exists to conveniently box a list of responders and put them into a
Vec<Box<dyn Responder>>
. The translation is:
cycle![a, b] => cycle(vec![Box::new(a), Box::new(b)])