[][src]Struct riker_es::Commit

pub struct Commit<T: Model> { /* fields omitted */ }

Commits represent changes to the system about to be persisted

Implementations

impl<T: Model> Commit<T>[src]

pub fn new(event: Event<T>, who: Option<String>, why: Option<String>) -> Self[src]

pub fn entity_id(&self) -> EntityId[src]

Trait Implementations

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

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

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

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

impl<T: Model> Receive<Commit<T>> for Store<T>[src]

type Msg = StoreMsg<T>

Auto Trait Implementations

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

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

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

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

impl<T> UnwindSafe for Commit<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>,