Struct cqrs_eventsourcing::QueryProcessor[][src]

pub struct QueryProcessor<A, E, Q> where
    A: Aggregate,
    E: DomainEvent<A>,
    Q: Query<A, E>, 
{ /* fields omitted */ }

Implementations

impl<A, E, Q> QueryProcessor<A, E, Q> where
    A: Aggregate,
    E: DomainEvent<A>,
    Q: Query<A, E>, 
[src]

pub async fn process<S: Store<A, E>>(
    store: &S,
    aggregate_id: Option<&str>
) -> Result<Q, Error>
[src]

Auto Trait Implementations

impl<A, E, Q> RefUnwindSafe for QueryProcessor<A, E, Q> where
    A: RefUnwindSafe,
    E: RefUnwindSafe,
    Q: RefUnwindSafe

impl<A, E, Q> Send for QueryProcessor<A, E, Q> where
    Q: Send

impl<A, E, Q> Sync for QueryProcessor<A, E, Q> where
    Q: Sync

impl<A, E, Q> Unpin for QueryProcessor<A, E, Q> where
    A: Unpin,
    E: Unpin,
    Q: Unpin

impl<A, E, Q> UnwindSafe for QueryProcessor<A, E, Q> where
    A: UnwindSafe,
    E: UnwindSafe,
    Q: 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.