Skip to main content

FinalizeFuture

Type Alias FinalizeFuture 

Source
pub type FinalizeFuture<'a> = Pin<Box<dyn Future<Output = Result<TransactionOutcome, TransactionError>> + Send + 'a>>;
Expand description

Boxed future for finalizing a TransactionSession.

Resolves to the observed TransactionOutcome so the caller can distinguish an acknowledged commit/rollback from a detached connection.

Aliased Typeยง

#[repr(transparent)]
pub struct FinalizeFuture<'a> { /* private fields */ }