[][src]Enum actor_es::StoreMsg

pub enum StoreMsg<T: Model> {
    Commit(Commit<T>),
    Snapshot((EntityId, DateTime<Utc>)),
    SnapshotList(DateTime<Utc>),
    Subscribe(EntityId),
}

Variants

Commit(Commit<T>)
Snapshot((EntityId, DateTime<Utc>))
SnapshotList(DateTime<Utc>)
Subscribe(EntityId)

Trait Implementations

impl<T: Clone + Model> Clone for StoreMsg<T>[src]

impl<T: Debug + Model> Debug for StoreMsg<T>[src]

impl<T: Model> From<(EntityId, DateTime<Utc>)> for StoreMsg<T>[src]

impl<T: Model> From<Commit<T>> for StoreMsg<T>[src]

impl<T: Model> From<DateTime<Utc>> for StoreMsg<T>[src]

impl<T: Model> From<EntityId> for StoreMsg<T>[src]

impl<T: Model> From<Event<T>> for StoreMsg<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for StoreMsg<T> where
    T: RefUnwindSafe,
    <T as Model>::Change: RefUnwindSafe

impl<T> Send for StoreMsg<T> where
    <T as Model>::Change: Send

impl<T> Sync for StoreMsg<T> where
    T: Sync,
    <T as Model>::Change: Sync

impl<T> Unpin for StoreMsg<T> where
    T: Unpin,
    <T as Model>::Change: Unpin

impl<T> UnwindSafe for StoreMsg<T> where
    T: UnwindSafe,
    <T as Model>::Change: UnwindSafe

Blanket Implementations

impl<T> ActorArgs for T where
    T: 'static + Clone + Send + Sync
[src]

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> Message for T where
    T: 'static + Clone + Send + Debug
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,