kvarn_async::prelude::compact_str::core::future

Struct PollFn

1.64.0 · source
pub struct PollFn<F> { /* private fields */ }
Expand description

A Future that wraps a function returning Poll.

This struct is created by poll_fn(). See its documentation for more.

Trait Implementations§

1.64.0 · source§

impl<F> Debug for PollFn<F>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
1.64.0 · source§

impl<T, F> Future for PollFn<F>