Function poll_once

Source
pub fn poll_once<F>(fut: F) -> Poll<<F as Future>::Output>
where F: Future,
Expand description

Poll a future once.