Skip to main content
Module poll_fn
Source use crate::fmt; ๐ use crate::future::Future; ๐ use crate::pin::Pin; ๐ use crate::task::Context; ๐ use crate::task::Poll; ๐
- PollFn
- A Future that wraps a function returning
Poll.
- poll_fn
- Creates a future that wraps a function returning
Poll.