pub trait UsageHandler<CTXEXT> {
// Required method
fn handle_usage<'life0, 'async_trait>(
&'life0 self,
ctx: Context<CTXEXT>,
request: Arc<Request>,
response: FunctionExecution,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Handler for recording usage after Function execution.