pub struct InMemoryIdempotencyStore { /* private fields */ }Expand description
Process-local idempotency store.
Implementations§
Trait Implementations§
Source§impl Debug for InMemoryIdempotencyStore
impl Debug for InMemoryIdempotencyStore
Source§impl Default for InMemoryIdempotencyStore
impl Default for InMemoryIdempotencyStore
Source§fn default() -> InMemoryIdempotencyStore
fn default() -> InMemoryIdempotencyStore
Returns the “default value” for a type. Read more
Source§impl IdempotencyStore for InMemoryIdempotencyStore
impl IdempotencyStore for InMemoryIdempotencyStore
Source§fn get(&self, key: &str) -> RuntimeResult<Option<IdempotencyRecord>>
fn get(&self, key: &str) -> RuntimeResult<Option<IdempotencyRecord>>
Returns a stored record by key.
Source§fn insert(&mut self, record: IdempotencyRecord) -> RuntimeResult<()>
fn insert(&mut self, record: IdempotencyRecord) -> RuntimeResult<()>
Inserts or replaces a validated record.
Auto Trait Implementations§
impl Freeze for InMemoryIdempotencyStore
impl RefUnwindSafe for InMemoryIdempotencyStore
impl Send for InMemoryIdempotencyStore
impl Sync for InMemoryIdempotencyStore
impl Unpin for InMemoryIdempotencyStore
impl UnsafeUnpin for InMemoryIdempotencyStore
impl UnwindSafe for InMemoryIdempotencyStore
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