pub trait CompletionCallback: Send + 'static {
// Required method
fn call(self: Box<Self>, end: TransactionEnd) -> CompletionDelivery;
}Expand description
One-shot completion callback.
Required Methods§
Sourcefn call(self: Box<Self>, end: TransactionEnd) -> CompletionDelivery
fn call(self: Box<Self>, end: TransactionEnd) -> CompletionDelivery
Invoke exactly once with the terminal result.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".