Skip to main content

record_kanidm_sdk_call

Function record_kanidm_sdk_call 

Source
pub async fn record_kanidm_sdk_call<F, T, E>(
    metrics: &ControllerMetrics,
    resource: &'static str,
    operation: &'static str,
    success_outcome: &'static str,
    future: F,
) -> Result<T, E>
where F: Future<Output = Result<T, E>>,