pub enum IdempotencyCheckResult {
NoKey,
Replay {
response: Value,
key: String,
status: IdempotencyStatus,
},
Execute {
key: ScopedKey,
fingerprint: RequestFingerprint,
},
}Expand description
Result of idempotency check
Variants§
NoKey
No idempotency key provided, proceed normally
Replay
Key provided and operation should be replayed
Execute
Key provided but no cached result, proceed and store
Auto Trait Implementations§
impl Freeze for IdempotencyCheckResult
impl RefUnwindSafe for IdempotencyCheckResult
impl Send for IdempotencyCheckResult
impl Sync for IdempotencyCheckResult
impl Unpin for IdempotencyCheckResult
impl UnwindSafe for IdempotencyCheckResult
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