Skip to main content

record_result

Function record_result 

pub async fn record_result<T, E>(
    name: &'static str,
    future: impl Future<Output = Result<T, E>>,
) -> Result<T, E>
Available on crate feature dial9 only.
Expand description

Record a fallible operation, including an error or cancellation before it completes. Construction is lazy: recording starts when this future is polled.