[]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

channel
io
msgs

Actix system messages

Structs

ActorResponse

Helper type for representing different type of message responses

Arbiter

Event loop controller

Context

Actor execution context

ContextFut
ContextParts
Envelope
Mailbox
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.

Registry

Actors registry

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.

System

System is an actor which manages runtime.

SystemRegistry

System wide actors registry

TimerFunc

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

Enums

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

ArbiterService

Trait defines arbiter's service.

AsyncContextParts
EnvelopeProxy
Message

Message type

MessageResponse

Trait which defines message response

ResponseChannel

Trait defines message response channel

StreamHandler

Stream handler

SystemService

Trait defines system's service.

ToEnvelope

Converter trait, packs message to suitable envelope

Type Definitions

ResponseActFuture

A specialized actor future for async message handler