pub struct EventQueryHandler<E>where
E: EventStore,{ /* private fields */ }
Expand description
Handler for event-related queries
Implementations§
Source§impl<E> EventQueryHandler<E>where
E: EventStore,
impl<E> EventQueryHandler<E>where
E: EventStore,
Trait Implementations§
Source§impl<E> Debug for EventQueryHandler<E>where
E: EventStore + Debug,
impl<E> Debug for EventQueryHandler<E>where
E: EventStore + Debug,
Source§impl<E> QueryHandler<GetSessionEventsQuery, EventsResponse> for EventQueryHandler<E>
impl<E> QueryHandler<GetSessionEventsQuery, EventsResponse> for EventQueryHandler<E>
fn handle<'life0, 'async_trait>(
&'life0 self,
query: GetSessionEventsQuery,
) -> Pin<Box<dyn Future<Output = ApplicationResult<EventsResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl<E> QueryHandler<GetStreamEventsQuery, EventsResponse> for EventQueryHandler<E>
impl<E> QueryHandler<GetStreamEventsQuery, EventsResponse> for EventQueryHandler<E>
fn handle<'life0, 'async_trait>(
&'life0 self,
query: GetStreamEventsQuery,
) -> Pin<Box<dyn Future<Output = ApplicationResult<EventsResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<E> Freeze for EventQueryHandler<E>
impl<E> RefUnwindSafe for EventQueryHandler<E>where
E: RefUnwindSafe,
impl<E> Send for EventQueryHandler<E>
impl<E> Sync for EventQueryHandler<E>
impl<E> Unpin for EventQueryHandler<E>
impl<E> UnwindSafe for EventQueryHandler<E>where
E: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more