Skip to main content

CompletionCallback

Trait CompletionCallback 

Source
pub trait CompletionCallback: Send + 'static {
    // Required method
    fn call(self: Box<Self>, end: TransactionEnd) -> CompletionDelivery;
}
Expand description

One-shot completion callback.

Required Methods§

Source

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".

Implementors§