Macro hrpc::make_handler [−][src]
macro_rules! make_handler {
($(#[$attr : meta]) * $pub : vis async fn $fname : ident($($args : tt) *)
$(-> $Ret : ty) ? { $($body : tt) * }) => { ... };
}
Expand description
Macro to workaround async fn
s not being allowed in traits. You do not
need to use this directly, instead you should use the handler
macro
attribute provided in the server prelude.