[−][src]Struct riker::system::EsManager
Methods
impl<Evs: EventStore> EsManager<Evs>
[src]
pub fn props(config: &Config) -> BoxActorProd<Evs::Msg>
[src]
Trait Implementations
impl<Evs: EventStore> Actor for EsManager<Evs>
[src]
type Msg = Evs::Msg
fn other_receive(
&mut self,
_: &Context<Self::Msg>,
msg: ActorMsg<Self::Msg>,
sender: Option<ActorRef<Self::Msg>>
)
[src]
&mut self,
_: &Context<Self::Msg>,
msg: ActorMsg<Self::Msg>,
sender: Option<ActorRef<Self::Msg>>
)
fn receive(
&mut self,
_: &Context<Self::Msg>,
_: Self::Msg,
_: Option<ActorRef<Self::Msg>>
)
[src]
&mut self,
_: &Context<Self::Msg>,
_: Self::Msg,
_: Option<ActorRef<Self::Msg>>
)
fn pre_start(&mut self, ctx: &Context<Self::Msg>)
[src]
Invoked when an actor is being started by the system. 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.
fn system_receive(
&mut self,
ctx: &Context<Self::Msg>,
msg: SystemMsg<Self::Msg>,
sender: Option<ActorRef<Self::Msg>>
)
[src]
&mut self,
ctx: &Context<Self::Msg>,
msg: SystemMsg<Self::Msg>,
sender: Option<ActorRef<Self::Msg>>
)
Invoked when an actor receives a Riker system message Read more
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,
sender: Option<ActorRef<Self::Msg>>
)
[src]
&mut self,
ctx: &Context<Self::Msg>,
evt: Self::Msg,
sender: Option<ActorRef<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]
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
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,