[][src]Struct actor_es::Store

pub struct Store<M: Model, S: CommitStore<M>> { /* fields omitted */ }

An actor that handles the persistance of changes of an entity using "commits" to track who made the change and why.

Trait Implementations

impl<M, S> Actor for Store<M, S> where
    M: Model,
    S: CommitStore<M>, 
[src]

type Msg = StoreMsg<M>

impl<M, S> ActorFactoryArgs<(S, ActorRef<ChannelMsg<Event<M>>>)> for Store<M, S> where
    M: Model,
    S: CommitStore<M>, 
[src]

impl<M, S> ActorFactoryArgs<S> for Store<M, S> where
    M: Model,
    S: CommitStore<M>, 
[src]

impl<M: Debug + Model, S: Debug + CommitStore<M>> Debug for Store<M, S>[src]

impl<M, S> Receive<(EntityId, DateTime<Utc>)> for Store<M, S> where
    M: Model,
    S: CommitStore<M>, 
[src]

type Msg = StoreMsg<M>

impl<M, S> Receive<Commit<M>> for Store<M, S> where
    M: Model,
    S: CommitStore<M>, 
[src]

type Msg = StoreMsg<M>

impl<M, S> Receive<DateTime<Utc>> for Store<M, S> where
    M: Model,
    S: CommitStore<M>, 
[src]

type Msg = StoreMsg<M>

impl<M, S> Receive<EntityId> for Store<M, S> where
    M: Model,
    S: CommitStore<M>, 
[src]

type Msg = StoreMsg<M>

Auto Trait Implementations

impl<M, S> !RefUnwindSafe for Store<M, S>

impl<M, S> Send for Store<M, S> where
    <M as Model>::Change: Clone + Debug + Send

impl<M, S> Sync for Store<M, S> where
    <M as Model>::Change: Clone + Debug + Send

impl<M, S> Unpin for Store<M, S> where
    S: Unpin

impl<M, S> !UnwindSafe for Store<M, S>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,