[go: up one dir, main page]

Function combine::future_ext::poll_fn[][src]

pub fn poll_fn<T, F>(f: F) -> PollFn<F>
Notable traits for PollFn<F>
impl<T, F> Future for PollFn<F> where
    F: FnMut(&mut Context<'_>) -> Poll<T>, 
type Output = T;
where
    F: FnMut(&mut Context<'_>) -> Poll<T>,