pub struct SystemChannel<Msg: Message> { /* fields omitted */ }
A specialized actor for providing Publish/Subscribe capabilities for system messages.
type Msg = Msg
Invoked when an actor is being started by the system. Read more
Invoked when an actor receives a Riker predefined message Read more
Invoked when an actor receives a Riker system message Read more
Invoked when an actor receives a message Read more
fn post_start(&mut self, ctx: &Context<Self::Msg>) | [src] |
Invoked after an actor has started. Read more
fn post_stop(&mut self) | [src] |
Invoked after an actor has been stopped.
Return a Some(PersistenceConf) to enable actor persistence. Read more
Invoked after an event is successfully inserted into the event store. Read more
Invoked for each event when the actor is recovering. Read more
Return a supervisor strategy that will be used when handling failed child actors.
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static