Macro candid::service

source ยท
macro_rules! service {
    { $($meth:tt : $ty:expr);* $(;)? } => { ... };
}
Expand description

Construct a service type.

service!{ "f": func!((HttpRequest) -> ()) } expands to Type(Rc::new(TypeInner::Service(...)))