Function async_anyhow_logger::catch [−][src]
pub async fn catch<F>(future: F) where
F: Future<Output = Result<()>>,
Catch an error from an asynchronous function, passing it to the error logger.
pub async fn catch<F>(future: F) where
F: Future<Output = Result<()>>,
Catch an error from an asynchronous function, passing it to the error logger.