Skip to main content

scope

Function scope 

Source
pub async fn scope<F>(ctx: UsageContext, fut: F) -> <F as Future>::Output
where F: Future,
Expand description

Run fut with ctx armed as the current dispatch-accounting context.