pub async fn atomically_result_async<T, E, F>( f: impl FnOnce() -> F, ) -> Result<T, E>where E: Display, F: Future<Output = Result<T, E>>,
Async version of atomically_result.
atomically_result