[][src]Struct eventmill::dispatch::Core

pub struct Core<S> { /* fields omitted */ }

Implementations

impl<S> Core<S>[src]

pub fn new(event_store: S) -> Self[src]

Trait Implementations

impl<S: Debug> Debug for Core<S>[src]

impl<C, A, S> DispatchCommand<DomainCommand<C, A>, A> for Core<S> where
    A: Aggregate<<A as HandleCommand<C, A>>::Event> + AggregateType + WithAggregateId + HandleCommand<C, A> + InitializeAggregate<State = A>,
    <A as HandleCommand<C, A>>::Event: 'static + EventType,
    S: EventSource<<VersionedAggregate<A> as HandleCommand<C, VersionedAggregate<A>>>::Event, VersionedAggregate<A>> + EventSink<<VersionedAggregate<A> as HandleCommand<C, VersionedAggregate<A>>>::Event, VersionedAggregate<A>>, 
[src]

type Context = <A as HandleCommand<C, A>>::Context

type Output = VersionedAggregate<A>

type Error = CoreDispatchError<S, C, A>

Auto Trait Implementations

impl<S> RefUnwindSafe for Core<S> where
    S: RefUnwindSafe

impl<S> Send for Core<S> where
    S: Send

impl<S> Sync for Core<S> where
    S: Sync

impl<S> Unpin for Core<S> where
    S: Unpin

impl<S> UnwindSafe for Core<S> where
    S: UnwindSafe

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.