Function async_anyhow_logger::catch_context [−][src]
pub async fn catch_context<F>(context: &'static str, future: F) where
F: Future<Output = Result<()>>,
Catch an error from an asynchronous function, passing it to the error logger with a static context.