[][src]Struct eventmill::inmemory_store::InMemoryStore

pub struct InMemoryStore<E, A> where
    A: WithAggregateId
{ /* fields omitted */ }

Implementations

impl<E, A> InMemoryStore<E, A> where
    A: WithAggregateId,
    AggregateIdOf<A>: Display
[src]

pub fn new() -> Self[src]

pub fn with_events(events: impl IntoIterator<Item = DomainEvent<E, A>>) -> Self[src]

Trait Implementations

impl<E: Debug, A: Debug> Debug for InMemoryStore<E, A> where
    A: WithAggregateId
[src]

impl<E, A> Default for InMemoryStore<E, A> where
    A: WithAggregateId
[src]

impl<E, A> EventSink<E, A> for InMemoryStore<E, A> where
    E: EventType,
    A: WithAggregateId,
    AggregateIdOf<A>: Display
[src]

type Error = Error

impl<E, A> EventSource<E, A> for InMemoryStore<E, A> where
    E: EventType,
    A: WithAggregateId,
    AggregateIdOf<A>: Display
[src]

type Error = Error

Auto Trait Implementations

impl<E, A> RefUnwindSafe for InMemoryStore<E, A>

impl<E, A> Send for InMemoryStore<E, A> where
    E: Send + Sync,
    <A as WithAggregateId>::Id: Send + Sync

impl<E, A> Sync for InMemoryStore<E, A> where
    E: Send + Sync,
    <A as WithAggregateId>::Id: Send + Sync

impl<E, A> Unpin for InMemoryStore<E, A>

impl<E, A> UnwindSafe for InMemoryStore<E, A>

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.