try_resolve

Function try_resolve 

Source
pub fn try_resolve<T>(f: impl Future<Output = T>) -> Option<T>
Expand description

Polls the future once then drops it, returning the output if the future was ready.