Skip to main content

OutboxReconciler

Trait OutboxReconciler 

Source
pub trait OutboxReconciler: Send + Sync {
    // Required method
    fn reconcile<'life0, 'life1, 'async_trait>(
        &'life0 self,
        record: &'life1 OutboxRecord,
    ) -> Pin<Box<dyn Future<Output = Reconciled> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Asks the external system what happened to a row whose outcome is unknown (spec §16.5).

Required Methods§

Source

fn reconcile<'life0, 'life1, 'async_trait>( &'life0 self, record: &'life1 OutboxRecord, ) -> Pin<Box<dyn Future<Output = Reconciled> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Settles one row against the remote system.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§