actix_
utils
3.0.1
Module future
Module Items
Structs
Enums
Functions
In crate actix_
utils
actix_utils
Module
future
Copy item path
Source
Expand description
Helpers for constructing futures.
Structs
§
PollFn
Future for the
poll_fn
function.
Ready
Future for the
ready
function.
Enums
§
Either
Combines two different futures that have the same output type.
Functions
§
err
Creates a future that is immediately ready with an error value.
ok
Creates a future that is immediately ready with a success value.
poll_fn
Creates a future driven by the provided function that receives a task context.
ready
Creates a future that is immediately ready with a value.