Module actix::prelude
[−]
[src]
The actix
prelude
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::prelude::*;
Reexports
pub use fut::ActorFuture; |
pub use fut::ActorStream; |
pub use fut::WrapFuture; |
pub use fut::WrapStream; |
pub use sync::SyncContext; |
pub use sync::SyncArbiter; |
Modules
actix |
Structs
Address |
Address of the actor |
Arbiter |
Event loop controller |
Context |
Actor execution context |
FramedContext |
Actor execution context for Framed object |
Response |
|
SyncAddress |
|
System |
System is an actor which manages process. |
Traits
Actor |
Actors are objects which encapsulate state and behavior. |
ActorContext |
Actor execution context |
AsyncContext |
Asynchronous execution context |
ContextFutureSpawner |
Helper trait which can spawn future into actor's context |
FramedActor |
Actor trait that allows to handle |
Handler |
Message handler |
ResponseType |
Message response type |
Type Definitions
MessageResult | |
ResponseFuture |