pub trait ManualAttemptFailureHostStore: Send + Sync {
// Required methods
fn lock_payment_failure_target<'life0, 'life1, 'async_trait>(
&'life0 self,
connection: &'life1 mut PgConnection,
charge: ManualFailureHostCharge,
) -> Pin<Box<dyn Future<Output = Result<(), ManualAttemptFailureHostStoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn mark_payment_failed<'life0, 'life1, 'async_trait>(
&'life0 self,
connection: &'life1 mut PgConnection,
charge: ManualFailureHostCharge,
) -> Pin<Box<dyn Future<Output = Result<ManualAttemptFailureHostTransitionOutcome, ManualAttemptFailureHostStoreError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Required Methods§
fn lock_payment_failure_target<'life0, 'life1, 'async_trait>(
&'life0 self,
connection: &'life1 mut PgConnection,
charge: ManualFailureHostCharge,
) -> Pin<Box<dyn Future<Output = Result<(), ManualAttemptFailureHostStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn mark_payment_failed<'life0, 'life1, 'async_trait>(
&'life0 self,
connection: &'life1 mut PgConnection,
charge: ManualFailureHostCharge,
) -> Pin<Box<dyn Future<Output = Result<ManualAttemptFailureHostTransitionOutcome, ManualAttemptFailureHostStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".