pub struct RepoReadModelDependencies<R, S> { /* private fields */ }Expand description
Dependencies for a service that needs both an aggregate repository and a read-model store.
Implementations§
Source§impl<R, S> RepoReadModelDependencies<R, S>
impl<R, S> RepoReadModelDependencies<R, S>
Trait Implementations§
Source§impl<R: Clone, S: Clone> Clone for RepoReadModelDependencies<R, S>
impl<R: Clone, S: Clone> Clone for RepoReadModelDependencies<R, S>
Source§fn clone(&self) -> RepoReadModelDependencies<R, S>
fn clone(&self) -> RepoReadModelDependencies<R, S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<R: ConfigurableOutboxPublisher, S> ConfigurableOutboxPublisher for RepoReadModelDependencies<R, S>
impl<R: ConfigurableOutboxPublisher, S> ConfigurableOutboxPublisher for RepoReadModelDependencies<R, S>
Source§fn configure_outbox_publisher(&mut self, config: OutboxPublisherConfig)
fn configure_outbox_publisher(&mut self, config: OutboxPublisherConfig)
Install the outbox publisher.
Source§impl<R: HasOutboxStore, S> HasOutboxStore for RepoReadModelDependencies<R, S>
impl<R: HasOutboxStore, S> HasOutboxStore for RepoReadModelDependencies<R, S>
Source§type OutboxStore = <R as HasOutboxStore>::OutboxStore
type OutboxStore = <R as HasOutboxStore>::OutboxStore
The concrete outbox store this repository produces.
Source§fn outbox_store(&self) -> Self::OutboxStore
fn outbox_store(&self) -> Self::OutboxStore
Produce a handle to the durable outbox store.
Source§impl<R, S> HasReadModelStore for RepoReadModelDependencies<R, S>
impl<R, S> HasReadModelStore for RepoReadModelDependencies<R, S>
type ReadModelStore = S
fn read_model_store(&self) -> &Self::ReadModelStore
Auto Trait Implementations§
impl<R, S> Freeze for RepoReadModelDependencies<R, S>
impl<R, S> RefUnwindSafe for RepoReadModelDependencies<R, S>where
R: RefUnwindSafe,
S: RefUnwindSafe,
impl<R, S> Send for RepoReadModelDependencies<R, S>
impl<R, S> Sync for RepoReadModelDependencies<R, S>
impl<R, S> Unpin for RepoReadModelDependencies<R, S>
impl<R, S> UnsafeUnpin for RepoReadModelDependencies<R, S>where
R: UnsafeUnpin,
S: UnsafeUnpin,
impl<R, S> UnwindSafe for RepoReadModelDependencies<R, S>where
R: UnwindSafe,
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> AggregateBuilder for T
impl<T> AggregateBuilder for T
fn aggregate<A: Aggregate>(self) -> AggregateRepository<Self, A>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Queueable for T
impl<T> Queueable for T
Source§fn queued(self) -> QueuedRepository<Self, InMemoryLockManager>
fn queued(self) -> QueuedRepository<Self, InMemoryLockManager>
Wrap with the default async lock manager. Pair with
.aggregate::<T>() for per-aggregate serialization over the async
repository surface.Source§fn queued_with<L: LockManager>(
self,
lock_manager: L,
) -> QueuedRepository<Self, L>
fn queued_with<L: LockManager>( self, lock_manager: L, ) -> QueuedRepository<Self, L>
Wrap with a custom async lock manager.