Deliverable

Trait Deliverable 

Source
pub trait Deliverable: Send + 'static {
    // Required method
    fn complete(self, result: DeliveryResult);
}
Expand description

The trait that handles the completion of the transaction (DeliveryResult). complete() is guaranteed to be called once the Transaction is spawned, even if the thread panics or the future is dropped.

Required Methods§

Source

fn complete(self, result: DeliveryResult)

Implementors§