[][src]Function futures_micro::poll_fn

pub fn poll_fn<F, T>(inner: F) -> PollFn<F>

Notable traits for PollFn<F>

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

Creates