Struct cqrs_eventsourcing::QueryProcessor [−][src]
Implementations
impl<A, E, Q> QueryProcessor<A, E, Q> where
A: Aggregate,
E: DomainEvent<A>,
Q: Query<A, E>,
[src]
A: Aggregate,
E: DomainEvent<A>,
Q: Query<A, E>,
pub async fn process<S: Store<A, E>>(
store: &S,
aggregate_id: Option<&str>
) -> Result<Q, Error>
[src]
store: &S,
aggregate_id: Option<&str>
) -> Result<Q, Error>
Auto Trait Implementations
impl<A, E, Q> RefUnwindSafe for QueryProcessor<A, E, Q> where
A: RefUnwindSafe,
E: RefUnwindSafe,
Q: RefUnwindSafe,
A: RefUnwindSafe,
E: RefUnwindSafe,
Q: RefUnwindSafe,
impl<A, E, Q> Send for QueryProcessor<A, E, Q> where
Q: Send,
Q: Send,
impl<A, E, Q> Sync for QueryProcessor<A, E, Q> where
Q: Sync,
Q: Sync,
impl<A, E, Q> Unpin for QueryProcessor<A, E, Q> where
A: Unpin,
E: Unpin,
Q: Unpin,
A: Unpin,
E: Unpin,
Q: Unpin,
impl<A, E, Q> UnwindSafe for QueryProcessor<A, E, Q> where
A: UnwindSafe,
E: UnwindSafe,
Q: UnwindSafe,
A: UnwindSafe,
E: UnwindSafe,
Q: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,