pub struct IdempotencyRequestFingerprint {
pub computation: ComputationName,
pub input: RemoteInput,
}Expand description
Stable fingerprint of the semantic spawn request guarded by an
IdempotencyKey.
Remote task IDs are intentionally excluded because they are assigned per delivery attempt. The deduplication contract is scoped to the logical operation being requested, not to origin-side execution metadata. Retry-only changes such as lease tuning, budget clamping, or origin task migration must not turn a duplicate into a conflict.
Fields§
§computation: ComputationNameThe computation that was requested.
input: RemoteInputSerialized input payload.
Implementations§
Source§impl IdempotencyRequestFingerprint
impl IdempotencyRequestFingerprint
Sourcepub fn new(computation: ComputationName, input: RemoteInput) -> Self
pub fn new(computation: ComputationName, input: RemoteInput) -> Self
Creates a new request fingerprint.
Sourcepub fn from_spawn_request(request: &SpawnRequest) -> Self
pub fn from_spawn_request(request: &SpawnRequest) -> Self
Builds a request fingerprint from a spawn request.
Trait Implementations§
Source§impl Clone for IdempotencyRequestFingerprint
impl Clone for IdempotencyRequestFingerprint
Source§fn clone(&self) -> IdempotencyRequestFingerprint
fn clone(&self) -> IdempotencyRequestFingerprint
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 PartialEq for IdempotencyRequestFingerprint
impl PartialEq for IdempotencyRequestFingerprint
Source§fn eq(&self, other: &IdempotencyRequestFingerprint) -> bool
fn eq(&self, other: &IdempotencyRequestFingerprint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IdempotencyRequestFingerprint
impl StructuralPartialEq for IdempotencyRequestFingerprint
Auto Trait Implementations§
impl Freeze for IdempotencyRequestFingerprint
impl RefUnwindSafe for IdempotencyRequestFingerprint
impl Send for IdempotencyRequestFingerprint
impl Sync for IdempotencyRequestFingerprint
impl Unpin for IdempotencyRequestFingerprint
impl UnsafeUnpin for IdempotencyRequestFingerprint
impl UnwindSafe for IdempotencyRequestFingerprint
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).