Module actix::fut [−][src]
Expand description
Custom Future
implementation with Actix
support
Structs
A combinator used to convert a stream into a future; the future resolves when the stream completes.
A future representing a value that is immediately ready.
Future for the map
combinator, changing the type of a future.
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 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.
Create a future that is immediately ready with a value.
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