Module actix::prelude::actix [] [src]

Reexports

pub use msgs;
pub use fut;
pub use fut::ActorFuture;
pub use fut::ActorStream;
pub use fut::WrapFuture;
pub use fut::WrapStream;
pub use sync::SyncContext;
pub use sync::SyncArbiter;

Structs

Address

Address of the actor

Arbiter

Event loop controller

Context

Actor execution context

FramedContext

Actor execution context for Framed object

Request

Request is a Future which represents asynchronous message sending process.

Response

Response represents asynchronous message handling process.

SpawnHandle

Spawned future handle. Could be used for cancelling spawned future.

SyncAddress

Send address of the actor. Actor can run in different thread

System

System is an actor which manages process.

Enums

ActorState

Actor execution state

Traits

Actor

Actors are objects which encapsulate state and behavior.

ActorAddress

Trait give access to actor's address

ActorContext

Actor execution context

ArbiterService

Trait defines arbiter's service.

AsyncContext

Asynchronous execution context

ContextFutureSpawner

Helper trait which can spawn future into actor's context

FramedActor

Actor trait that allows to handle tokio_io::codec::Framed objects.

Handler

Message handler

ResponseType

Message response type

Subscriber

Subscriber trait describes ability of actor to receive one specific message

Supervised

Actors with ability to restart after failure

SystemService

Trait defines system's service.

Type Definitions

MessageResult
ResponseFuture