pub struct ClaimOutboxMessages {
pub worker_id: String,
pub batch_size: usize,
pub lease: Duration,
pub destination: Option<String>,
pub message_ids: Option<Vec<String>>,
}Fields§
§worker_id: String§batch_size: usize§lease: Duration§destination: Option<String>§message_ids: Option<Vec<String>>Restrict the claim to this explicit set of message ids. None claims the
next claimable batch in created-at order (normal worker polling); Some
claims only the listed ids (after-commit immediate dispatch). Ids that are
not currently claimable are simply skipped — a raced id is not an error.
Implementations§
Trait Implementations§
Source§impl Clone for ClaimOutboxMessages
impl Clone for ClaimOutboxMessages
Source§fn clone(&self) -> ClaimOutboxMessages
fn clone(&self) -> ClaimOutboxMessages
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 Debug for ClaimOutboxMessages
impl Debug for ClaimOutboxMessages
impl Eq for ClaimOutboxMessages
Source§impl PartialEq for ClaimOutboxMessages
impl PartialEq for ClaimOutboxMessages
impl StructuralPartialEq for ClaimOutboxMessages
Auto Trait Implementations§
impl Freeze for ClaimOutboxMessages
impl RefUnwindSafe for ClaimOutboxMessages
impl Send for ClaimOutboxMessages
impl Sync for ClaimOutboxMessages
impl Unpin for ClaimOutboxMessages
impl UnsafeUnpin for ClaimOutboxMessages
impl UnwindSafe for ClaimOutboxMessages
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.