Function futures_lite::future::poll_fn [−][src]
pub fn poll_fn<T, F>(f: F) -> PollFn<F>ⓘ where
F: FnMut(&mut Context<'_>) -> Poll<T>,
pub fn poll_fn<T, F>(f: F) -> PollFn<F>ⓘ where
F: FnMut(&mut Context<'_>) -> Poll<T>,