ready

Function ready 

Source
pub fn ready<T, F>(f: F) -> CancelablePoll<T>
where F: FnOnce() -> T,
Expand description

Create a ready status of CancelablePoll from F: FnOnce() -> T.