Expand description
Custom Future
implementation with Actix
support
Structs
Future for the
and_then
combinator, chaining a computation onto the end of
another future which completes successfully.A combinator used to convert stream into a future, future resolves
when stream completes.
Future for the
from_err
combinator, changing the error type of a future.A future representing a value that is immediately ready.
Future for the
map
combinator, changing the type of a future.Future for the
map_err
combinator, changing the error type of a future.A stream combinator which chains a computation onto values produced by a
stream.
A combinator used to convert stream into a future, future resolves
when stream completes.
A future used to collect all the results of a stream into one generic type.
A stream combinator which will change the type of a stream from one
type to another.
A stream combinator which will change the error type of a stream from one
type to another.
A stream combinator which chains a computation onto each item produced by a
stream.
Future for the
timeout
combinator, interrupts computations if it takes
more than timeout
.Future for the
then
combinator, chaining computations on the end of
another future regardless of its outcome.Future for the
timeout
combinator, interrupts computations if it takes
more than timeout
.Enums
Combines two different futures yielding the same item and error
types into a single type.
Traits
Trait for types which are a placeholder of a value that may become
available at some later point in time.
A stream of values, not all of which may have been produced yet.
Class of types which can be converted into an actor future.
Helper trait that allows conversion of normal future into
ActorFuture
Helper trait that allows conversion of normal stream into
ActorStream
Functions
Creates a “leaf future” from an immediate value of a failed computation.
Creates a “leaf future” from an immediate value of a finished and
successful computation.
Creates a new “leaf future” which will resolve with the given result.
Converts normal future into
ActorFuture
, allowing its processing to
use the actor’s state.Converts normal stream into
ActorStream