pub enum MutationHandlerPlacement {
EventualLocal,
EventualRemote,
Direct,
}Expand description
Placement for a projector handler registration.
Variants§
EventualLocal
Asynchronous local projector.
EventualRemote
Asynchronous remote projector.
Direct
Same-transaction direct projector.
Trait Implementations§
Source§impl Clone for MutationHandlerPlacement
impl Clone for MutationHandlerPlacement
Source§fn clone(&self) -> MutationHandlerPlacement
fn clone(&self) -> MutationHandlerPlacement
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 moreimpl Copy for MutationHandlerPlacement
Source§impl Debug for MutationHandlerPlacement
impl Debug for MutationHandlerPlacement
impl Eq for MutationHandlerPlacement
Source§impl Hash for MutationHandlerPlacement
impl Hash for MutationHandlerPlacement
Source§impl Ord for MutationHandlerPlacement
impl Ord for MutationHandlerPlacement
Source§fn cmp(&self, other: &MutationHandlerPlacement) -> Ordering
fn cmp(&self, other: &MutationHandlerPlacement) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MutationHandlerPlacement
impl PartialEq for MutationHandlerPlacement
Source§impl PartialOrd for MutationHandlerPlacement
impl PartialOrd for MutationHandlerPlacement
Source§impl Serialize for MutationHandlerPlacement
impl Serialize for MutationHandlerPlacement
impl StructuralPartialEq for MutationHandlerPlacement
Auto Trait Implementations§
impl Freeze for MutationHandlerPlacement
impl RefUnwindSafe for MutationHandlerPlacement
impl Send for MutationHandlerPlacement
impl Sync for MutationHandlerPlacement
impl Unpin for MutationHandlerPlacement
impl UnsafeUnpin for MutationHandlerPlacement
impl UnwindSafe for MutationHandlerPlacement
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.