macro_rules! service { { $($meth:tt : $ty:expr);* $(;)? } => { ... }; }
Expand description
Construct a service type.
service!{ "f": func!((HttpRequest) -> ()) }
expands to Type(Rc::new(TypeInner::Service(...)))
macro_rules! service { { $($meth:tt : $ty:expr);* $(;)? } => { ... }; }
Construct a service type.
service!{ "f": func!((HttpRequest) -> ()) }
expands to Type(Rc::new(TypeInner::Service(...)))