Module actix_web::actix

source ·
Expand description

Re-exports actix’s prelude

Modules

Helper actors
The actix prelude for library developers
Custom Future implementation with Actix support
Actix system messages
DNS resolver and connector utility actor
An actor implementation of Unix signal handling

Structs

Helper type for representing different type of message responses
Address of the actor
Event loop controller
Actor execution context
An ActorStream that periodically runs a function in the actor’s context.
Helper type that implements MessageResponse trait
Recipient type allows to send one specific message to an actor.
RecipientRequest is a Future which represents asynchronous message sending process.
Request is a Future which represents asynchronous message sending process.
Helper type for representing different type of message responses
Spawned future handle. Could be used for cancelling spawned future.
Actor supervisor
Sync arbiter
Sync actor execution context
System is an actor which manages runtime.
An ActorFuture that runs a function in the actor’s context after a specified amount of time.

Enums

Actor execution state
Set of error that can occurred during message delivery process

Traits

Actors are objects which encapsulate state and behavior.
Actor execution context
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.
Trait defines arbiter’s service.
Asynchronous execution context
Helper trait which can spawn future into actor’s context
Message handler
Message type
Stream handler
Actors with ability to restart after failure
Trait defines system’s service.
Helper trait that allows conversion of normal future into ActorFuture
Helper trait that allows conversion of normal stream into ActorStream

Functions

Start the System and execute supplied future.
Spawns a future on the current arbiter.

Type Definitions

A specialized actor future for async message handler
A specialized future for async message handler

Derive Macros