Struct actix_broker::Broker[][src]

pub struct Broker<T> { /* fields omitted */ }

Implementations

The system service actor that keeps track of subscriptions and routes messages to them.

Send messages asynchronously via the broker. It can be called from with actors with a SyncContext, or where you don’t have access to self. e.g. From within a HttpHandler from actix-web.

The system service actor that keeps track of subscriptions and routes messages to them.

Send messages asynchronously via the broker. It can be called from with actors with a SyncContext, or where you don’t have access to self. e.g. From within a HttpHandler from actix-web.

Trait Implementations

Actor execution context type

Called when an actor gets polled the first time.

Called after an actor is in Actor::Stopping state. Read more

Called after an actor is stopped. Read more

Start a new asynchronous actor, returning its address. Read more

Construct and start a new asynchronous actor, returning its address. Read more

Start new actor in arbiter’s thread.

Start a new asynchronous actor given a Context. Read more

Construct and start arbiter service

Method is called during service initialization.

Get actor’s address from arbiter registry

Returns the “default value” for a type. Read more

Called when the supervisor restarts a failed actor.

Called when the supervisor restarts a failed actor.

Construct and start system service

Method is called during service initialization.

Get actor’s address from system registry

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.