pub struct InFlightClaim {
pub idempotency_key: String,
pub claimed_at_millis: u64,
pub evidence: Option<ClaimEvidence>,
}Expand description
One claim in flight at a start: its key, when it was claimed, and where its row would be when the claim recorded that.
claimed_at_millis is the epoch millisecond the claim’s entry carries,
written at the claim; a start reads it from the same bounded page as the
evidence. A claim with no evidence was written by a binary before the
evidence lane (liminal-server 0.16.0 and earlier) and nothing can settle
it by looking its row up (DUR-022).
Fields§
§idempotency_key: StringThe producer idempotency key the claim holds.
claimed_at_millis: u64Epoch milliseconds the claim was written at.
evidence: Option<ClaimEvidence>Where the claim’s row would be, when the claim recorded it.
Trait Implementations§
Source§impl Clone for InFlightClaim
impl Clone for InFlightClaim
Source§impl Debug for InFlightClaim
impl Debug for InFlightClaim
impl Eq for InFlightClaim
Source§impl PartialEq for InFlightClaim
impl PartialEq for InFlightClaim
impl StructuralPartialEq for InFlightClaim
Auto Trait Implementations§
impl Freeze for InFlightClaim
impl RefUnwindSafe for InFlightClaim
impl Send for InFlightClaim
impl Sync for InFlightClaim
impl Unpin for InFlightClaim
impl UnsafeUnpin for InFlightClaim
impl UnwindSafe for InFlightClaim
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.