[−][src]Struct riker_es::Entity
Entity is an actor that dispatches commands and manages aggregates that are being queried
Trait Implementations
impl<E: ES> Actor for Entity<E>
[src]
type Msg = CQRS<E::Cmd, E::Event>
fn pre_start(&mut self, ctx: &Context<Self::Msg>)
[src]
fn recv(&mut self, ctx: &Context<Self::Msg>, msg: Self::Msg, sender: Sender)
[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<E, Args> ActorFactoryArgs<Args> for Entity<E> where
Args: ActorArgs,
E: ES<Args = Args>,
[src]
Args: ActorArgs,
E: ES<Args = Args>,
fn create_args(args: Args) -> Self
[src]
impl<E: ES> Receive<Query> for Entity<E>
[src]
Auto Trait Implementations
impl<E> !RefUnwindSafe for Entity<E>
impl<E> Send for Entity<E> where
<E as ES>::Agg: Aggregate + Clone + Debug + Send,
<E as ES>::Args: Send,
<<E as ES>::Agg as Aggregate>::Update: Send,
<E as ES>::Agg: Aggregate + Clone + Debug + Send,
<E as ES>::Args: Send,
<<E as ES>::Agg as Aggregate>::Update: Send,
impl<E> Sync for Entity<E> where
<E as ES>::Agg: Aggregate + Clone + Debug + Send,
<E as ES>::Args: Sync,
<<E as ES>::Agg as Aggregate>::Update: Send,
<E as ES>::Agg: Aggregate + Clone + Debug + Send,
<E as ES>::Args: Sync,
<<E as ES>::Agg as Aggregate>::Update: Send,
impl<E> Unpin for Entity<E> where
<E as ES>::Args: Unpin,
<E as ES>::Args: Unpin,
impl<E> !UnwindSafe for Entity<E>
Blanket Implementations
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>,