Module actix_web::actix::actix::dev [−]
The actix
prelude for library developers
The purpose of this module is to alleviate imports of many common actix traits by adding a glob import to the top of actix heavy modules:
use actix::dev::*;
Modules
actors |
Helper actors |
fut |
Custom |
msgs |
Actix system messages |
Structs
ActorResponse |
Helper type for representing different type of message responses |
Arbiter |
Event loop controller |
ContextFut | |
ContextParts | |
Envelope | |
Mailbox | |
Recipient |
|
RecipientRequest |
|
Registry |
Actors registry |
Request |
|
Response |
Helper type for representing different type of message responses |
SpawnHandle |
Spawned future handle. Could be used for cancelling spawned future. |
SyncContext |
Sync actor execution context |
System |
System is an actor which manages runtime. |
SystemRegistry |
System wide actors registry |
Traits
ActorContext |
Actor execution context |
ActorFuture |
Trait for types which are a placeholder of a value that may become available at some later point in time. |
ActorStream |
A stream of values, not all of which may have been produced yet. |
ArbiterService |
Trait defines arbiter's service. |
AsyncContext |
Asynchronous execution context |
AsyncContextParts | |
Handler |
Message handler |
Message |
Message type |
MessageResponse |
Trait which defines message response |
ResponseChannel |
Trait defines message response channel |
StreamHandler |
Stream handler |
ToEnvelope |
Converter trait, packs message to suitable envelope |
WrapStream |
Helper trait that allows conversion of normal stream into |
Type Definitions
ResponseFuture |
A specialized future for async message handler |