Module future

Source

Modules§

result
Definition of the Ready (immediately finished) combinator

Structs§

FutureWrap
Timeout
Future for the timeout combinator, interrupts computations if it takes more than timeout.

Enums§

Map
Future for the map method.
Then
Future for the then combinator, chaining computations on the end of another future regardless of its outcome.

Traits§

ActorFuture
Trait for types which are a placeholder of a value that may become available at some later point in time.
ActorFutureExt
WrapFuture
Helper trait that allows conversion of normal future into ActorFuture

Functions§

wrap_future
Converts normal future into ActorFuture, allowing its processing to use the actor’s state.

Type Aliases§

LocalBoxActorFuture
Type alias for a pinned box ActorFuture trait object.