[−][src]Struct riker_es::Store
An actor that handles the persistance of events of entities using "commits" to track who made a change and why.
Trait Implementations
impl<T: Model> Actor for Store<T>
[src]
type Msg = StoreMsg<T>
fn recv(&mut self, cx: &Context<Self::Msg>, msg: Self::Msg, sender: Sender)
[src]
fn pre_start(&mut self, ctx: &Context<Self::Msg>)
[src]
fn post_start(&mut self, ctx: &Context<Self::Msg>)
[src]
fn post_stop(&mut self)
[src]
fn supervisor_strategy(&self) -> Strategy
[src]
fn sys_recv(
&mut self,
ctx: &Context<Self::Msg>,
msg: SystemMsg,
sender: Option<BasicActorRef>
)
[src]
&mut self,
ctx: &Context<Self::Msg>,
msg: SystemMsg,
sender: Option<BasicActorRef>
)
impl<T: Model> ActorFactoryArgs<ActorRef<ChannelMsg<Event<T>>>> for Store<T>
[src]
fn create_args(bus: EventBus<T>) -> Self
[src]
impl<T: Debug + Model> Debug for Store<T>
[src]
impl<T: Model> Default for Store<T>
[src]
impl<T: Model> Receive<(EntityId, DateTime<Utc>)> for Store<T>
[src]
type Msg = StoreMsg<T>
fn receive(
&mut self,
_cx: &Context<Self::Msg>,
(id, until): (EntityId, DateTime<Utc>),
sender: Sender
)
[src]
&mut self,
_cx: &Context<Self::Msg>,
(id, until): (EntityId, DateTime<Utc>),
sender: Sender
)
impl<T: Model> Receive<Commit<T>> for Store<T>
[src]
type Msg = StoreMsg<T>
fn receive(&mut self, cx: &Context<Self::Msg>, c: Commit<T>, _sender: Sender)
[src]
impl<T: Model> Receive<EntityId> for Store<T>
[src]
type Msg = StoreMsg<T>
fn receive(&mut self, _cx: &Context<Self::Msg>, _id: EntityId, _sender: Sender)
[src]
impl<T: Model> Receive<RangeTo<DateTime<Utc>>> for Store<T>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for Store<T>
impl<T> Send for Store<T> where
<T as Model>::Change: Clone + Debug + Send,
<T as Model>::Change: Clone + Debug + Send,
impl<T> Sync for Store<T> where
T: Sync,
<T as Model>::Change: Clone + Debug + Send + Sync,
T: Sync,
<T as Model>::Change: Clone + Debug + Send + Sync,
impl<T> Unpin for Store<T> where
T: Unpin,
<T as Model>::Change: Unpin,
T: Unpin,
<T as Model>::Change: Unpin,
impl<T> !UnwindSafe for Store<T>
Blanket Implementations
impl<A> ActorFactory for A where
A: Actor + Default,
[src]
A: Actor + Default,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,