pub struct ClaimedEntry {
pub queue: String,
pub priority: i16,
pub lane_seq: i64,
pub ready_slot: i32,
pub ready_generation: i64,
pub lease_slot: i32,
pub lease_generation: i64,
pub claim_slot: i32,
pub lease_claim_receipt: bool,
pub enqueue_shard: i16,
}Fields§
§queue: String§priority: i16§lane_seq: i64§ready_slot: i32§ready_generation: i64§lease_slot: i32§lease_generation: i64§claim_slot: i32ADR-023: the claim_slot partition this attempt’s
lease_claims receipt landed in. The completion path uses this
to target the matching lease_claim_closures partition when
writing the closure tombstone.
lease_claim_receipt: bool§enqueue_shard: i16The enqueue shard the row was claimed from. Routes the
terminal done_entries write onto the correct shard’s
(ready_slot, queue, priority, enqueue_shard, lane_seq) key
and is the join predicate for receipt and admin lookups that
touch queue_claim_heads / ready_entries / leases.
Trait Implementations§
Source§impl Clone for ClaimedEntry
impl Clone for ClaimedEntry
Source§fn clone(&self) -> ClaimedEntry
fn clone(&self) -> ClaimedEntry
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 ClaimedEntry
impl Debug for ClaimedEntry
impl Eq for ClaimedEntry
Source§impl<'a, R: Row> FromRow<'a, R> for ClaimedEntry
impl<'a, R: Row> FromRow<'a, R> for ClaimedEntry
Source§impl PartialEq for ClaimedEntry
impl PartialEq for ClaimedEntry
Source§fn eq(&self, other: &ClaimedEntry) -> bool
fn eq(&self, other: &ClaimedEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClaimedEntry
Auto Trait Implementations§
impl Freeze for ClaimedEntry
impl RefUnwindSafe for ClaimedEntry
impl Send for ClaimedEntry
impl Sync for ClaimedEntry
impl Unpin for ClaimedEntry
impl UnsafeUnpin for ClaimedEntry
impl UnwindSafe for ClaimedEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more