pub struct MemoryIdempotencyStore { /* private fields */ }Trait Implementations§
Source§impl Debug for MemoryIdempotencyStore
impl Debug for MemoryIdempotencyStore
Source§impl Default for MemoryIdempotencyStore
impl Default for MemoryIdempotencyStore
Source§fn default() -> MemoryIdempotencyStore
fn default() -> MemoryIdempotencyStore
Returns the “default value” for a type. Read more
Source§impl IdempotencyStore for MemoryIdempotencyStore
impl IdempotencyStore for MemoryIdempotencyStore
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 IdempotencyKey,
) -> Pin<Box<dyn Future<Output = Result<Option<IdempotencyRecord>, IdempotencyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn put_if_absent<'life0, 'async_trait>(
&'life0 self,
key: IdempotencyKey,
record: IdempotencyRecord,
) -> Pin<Box<dyn Future<Output = Result<PutOutcome, IdempotencyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for MemoryIdempotencyStore
impl !RefUnwindSafe for MemoryIdempotencyStore
impl Send for MemoryIdempotencyStore
impl Sync for MemoryIdempotencyStore
impl Unpin for MemoryIdempotencyStore
impl UnsafeUnpin for MemoryIdempotencyStore
impl UnwindSafe for MemoryIdempotencyStore
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