pub fn now_or_never<F: Future>(future: F) -> Option<F::Output>
Consumes a future, polls it once, and immediately returns the output or returns None if it wasn’t ready yet.
None
This will cancel the future if it’s not ready.