catch

Function catch 

Source
pub async fn catch<F>(future: F)
where F: Future<Output = Result<()>>,
Expand description

Catch an error from an asynchronous function, passing it to the error logger.