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 Future implementation with Actix support

msgs

Actix system messages

Structs

ActorResponse

Helper type for representing different type of message responses

Arbiter

Event loop controller

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

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 ActorStream

Type Definitions

ResponseFuture

A specialized future for async message handler