pub(crate) async fn optimistic( fut: impl Future<Output = Result<()>>, ) -> Result<()>
Polls a future once, waits for a wakeup, and then optimistically assumes the future is ready.