pub trait AsyncRecoverableFunction:
    Send
    + Sync
    + 'static {
    type Output: Send;
    type Future: Future<Output = Self::Output> + Send;
    // Required method
    fn call(self) -> Self::Future;
}Expand description
Trait alias for asynchronous functions that can be executed in a recoverable context.
- Functions implementing this trait must return a Futureand satisfyFnOnce() -> Future + Send + Sync + 'static.