Skip to main content

call_closure

Function call_closure 

Source
pub fn call_closure(sig: &HandlerSig, paths: &Paths) -> TokenStream
Expand description

move |cx: <Marker as Transport>::Cx| -> ::ulo::BoxFuture<'static, Result<Reply, ::ulo::BoxError>> { Box::pin(async move { <call_body> }) }, cloneable into the transport’s handler value.