[][src]Module actix_web::actix

Re-exports actix's prelude

Modules

actors

Helper actors

dev

The actix prelude for library developers

fut

Custom Future implementation with Actix support

io
msgs

Actix system messages

resolver

DNS resolver and connector utility actor

signal

An actor implementation of Unix signal handling

Structs

ActorResponse

Helper type for representing different type of message responses

Addr

Address of the actor

Arbiter

Event loop controller

Condition
Context

Actor execution context

IntervalFunc

An ActorStream that periodically runs a function in the actor's context.

MessageResult

Helper type that implements MessageResponse trait

Recipient

Recipient type allows to send one specific message to an actor.

RecipientRequest

RecipientRequest is a Future which represents asynchronous message sending process.

Request

Request is a Future which represents asynchronous message sending process.

Response

Helper type for representing different type of message responses

SpawnHandle

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

Supervisor

Actor supervisor

SyncArbiter

Sync arbiter

SyncContext

Sync actor execution context

System

System is an actor which manages runtime.

TimerFunc

An ActorFuture that runs a function in the actor's context after a specified amount of time.

Enums

ActorState

Actor execution state

MailboxError

Set of error that can occurred during message delivery process

Running
SendError

Traits

Actor

Actors are objects which encapsulate state and behavior.

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

ContextFutureSpawner

Helper trait which can spawn future into actor's context

Handler

Message handler

Message

Message type

StreamHandler

Stream handler

Supervised

Actors with ability to restart after failure

SystemService

Trait defines system's service.

WrapFuture

Helper trait that allows conversion of normal future into ActorFuture

WrapStream

Helper trait that allows conversion of normal stream into ActorStream

Functions

run

Start the System and execute supplied future.

spawn

Spawns a future on the current arbiter.

Type Definitions

ResponseActFuture

A specialized actor future for async message handler

ResponseFuture

A specialized future for async message handler