Skip to main content

TransactionCallback

Type Alias TransactionCallback 

Source
pub type TransactionCallback<'a> = Box<dyn for<'tx> FnOnce(Box<dyn DbAdapter + 'tx>) -> Pin<Box<dyn Future<Output = Result<(), RustAuthError>> + Send + 'tx>> + Send + 'a>;
Expand description

Callback executed inside an adapter transaction.

Aliased Typeยง

pub struct TransactionCallback<'a>(/* private fields */);