[−][src]Struct riker::actor::SystemChannel
A specialized actor for providing Publish/Subscribe capabilities for system messages.
Methods
impl<Msg: Message> SystemChannel<Msg>[src]
impl<Msg: Message> SystemChannel<Msg>Trait Implementations
impl<Msg: Message> Actor for SystemChannel<Msg>[src]
impl<Msg: Message> Actor for SystemChannel<Msg>type Msg = Msg
fn pre_start(&mut self, ctx: &Context<Msg>)[src]
fn pre_start(&mut self, ctx: &Context<Msg>)Invoked when an actor is being started by the system. Read more
fn other_receive(
&mut self,
_: &Context<Msg>,
msg: ActorMsg<Msg>,
sender: Option<ActorRef<Msg>>
)[src]
fn other_receive(
&mut self,
_: &Context<Msg>,
msg: ActorMsg<Msg>,
sender: Option<ActorRef<Msg>>
)Invoked when an actor receives a Riker predefined message Read more
fn system_receive(
&mut self,
_: &Context<Self::Msg>,
msg: SystemMsg<Self::Msg>,
sender: Option<ActorRef<Self::Msg>>
)[src]
fn system_receive(
&mut self,
_: &Context<Self::Msg>,
msg: SystemMsg<Self::Msg>,
sender: Option<ActorRef<Self::Msg>>
)Invoked when an actor receives a Riker system message Read more
fn receive(&mut self, _: &Context<Msg>, _: Msg, _: Option<ActorRef<Msg>>)[src]
fn receive(&mut self, _: &Context<Msg>, _: Msg, _: Option<ActorRef<Msg>>)Invoked when an actor receives a message Read more
fn post_start(&mut self, ctx: &Context<Self::Msg>)[src]
fn post_start(&mut self, ctx: &Context<Self::Msg>)Invoked after an actor has started. Read more
fn post_stop(&mut self)[src]
fn post_stop(&mut self)Invoked after an actor has been stopped.
fn persistence_conf(&self) -> Option<PersistenceConf>[src]
fn persistence_conf(&self) -> Option<PersistenceConf>Return a Some(PersistenceConf) to enable actor persistence. Read more
fn apply_event(&mut self, ctx: &Context<Self::Msg>, evt: Self::Msg)[src]
fn apply_event(&mut self, ctx: &Context<Self::Msg>, evt: Self::Msg)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]
fn replay_event(&mut self, ctx: &Context<Self::Msg>, evt: Self::Msg)Invoked for each event when the actor is recovering. Read more
fn supervisor_strategy(&self) -> Strategy[src]
fn supervisor_strategy(&self) -> StrategyReturn a supervisor strategy that will be used when handling failed child actors.
Auto Trait Implementations
impl<Msg> Send for SystemChannel<Msg>
impl<Msg> Send for SystemChannel<Msg>impl<Msg> Sync for SystemChannel<Msg>
impl<Msg> Sync for SystemChannel<Msg>Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more
impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>,