actix-net/actix-utils/src/future/mod.rs

10 lines
194 B
Rust

//! Helpers for constructing futures.
mod either;
mod poll_fn;
mod ready;
pub use self::either::Either;
pub use self::poll_fn::{poll_fn, PollFn};
pub use self::ready::{err, ok, ready, Ready};