pub enum NoInbox {}Expand description
Uninhabited marker for run options that carry no inbox hook.
Because it can never be constructed, a RunOptions<NoInbox> is statically
guaranteed to be in idempotent mode — which is exactly the default.
Trait Implementations§
impl Copy for NoInbox
impl Eq for NoInbox
impl StructuralPartialEq for NoInbox
Auto Trait Implementations§
impl Freeze for NoInbox
impl RefUnwindSafe for NoInbox
impl Send for NoInbox
impl Sync for NoInbox
impl Unpin for NoInbox
impl UnsafeUnpin for NoInbox
impl UnwindSafe for NoInbox
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.