pub struct ErasedPendingStoreAdapter<S: PendingAdjudicationPort> { /* private fields */ }Expand description
Adapter that wraps a concrete PendingAdjudicationPort impl as dyn ErasedPendingStore.
Implementations§
Trait Implementations§
Source§impl<S: PendingAdjudicationPort> ErasedPendingStore for ErasedPendingStoreAdapter<S>
impl<S: PendingAdjudicationPort> ErasedPendingStore for ErasedPendingStoreAdapter<S>
fn insert_pending_erased( &self, row: &PendingAdjudicationRow, ) -> Result<(), Box<dyn Error + Send + Sync + 'static>>
fn get_pending_erased( &self, handle_id: Uuid, ) -> Result<Option<PendingAdjudicationRow>, Box<dyn Error + Send + Sync + 'static>>
fn list_pending_erased( &self, agent_id: Option<&AgentId>, ) -> Result<Vec<PendingAdjudicationRow>, Box<dyn Error + Send + Sync + 'static>>
fn list_expired_erased( &self, now: DateTime<Utc>, ) -> Result<Vec<PendingAdjudicationRow>, Box<dyn Error + Send + Sync + 'static>>
fn mark_resolved_erased( &self, handle_id: Uuid, ) -> Result<(), Box<dyn Error + Send + Sync + 'static>>
fn mark_expired_erased( &self, handle_id: Uuid, ) -> Result<(), Box<dyn Error + Send + Sync + 'static>>
fn list_queued_orphan_claims_erased( &self, ) -> Result<Vec<OrphanedQueuedClaim>, Box<dyn Error + Send + Sync + 'static>>
Auto Trait Implementations§
impl<S> Freeze for ErasedPendingStoreAdapter<S>where
S: Freeze,
impl<S> RefUnwindSafe for ErasedPendingStoreAdapter<S>where
S: RefUnwindSafe,
impl<S> Send for ErasedPendingStoreAdapter<S>
impl<S> Sync for ErasedPendingStoreAdapter<S>
impl<S> Unpin for ErasedPendingStoreAdapter<S>where
S: Unpin,
impl<S> UnsafeUnpin for ErasedPendingStoreAdapter<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ErasedPendingStoreAdapter<S>where
S: UnwindSafe,
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