[][src]Struct riker::actor::SystemChannel

pub struct SystemChannel<Msg: Message> { /* fields omitted */ }

A specialized actor for providing Publish/Subscribe capabilities for system messages.

Methods

impl<Msg: Message> SystemChannel<Msg>
[src]

pub fn new() -> BoxActor<Msg>
[src]

Trait Implementations

impl<Msg: Message> Actor for SystemChannel<Msg>
[src]

type Msg = Msg

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.

fn persistence_conf(&self) -> Option<PersistenceConf>
[src]

Return a Some(PersistenceConf) to enable actor persistence. Read more

fn apply_event(&mut self, ctx: &Context<Self::Msg>, evt: Self::Msg)
[src]

Invoked after an event is successfully inserted into the event store. Read more

fn replay_event(&mut self, ctx: &Context<Self::Msg>, evt: Self::Msg)
[src]

Invoked for each event when the actor is recovering. Read more

fn supervisor_strategy(&self) -> Strategy
[src]

Return a supervisor strategy that will be used when handling failed child actors.

Auto Trait Implementations

impl<Msg> Send for SystemChannel<Msg>

impl<Msg> Sync for SystemChannel<Msg>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]