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
Construct and start arbiter service
Method is called during service initialization.
Get actor’s address from arbiter registry
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
impl<T> !RefUnwindSafe for Broker<T>
impl<T> !UnwindSafe for Broker<T>