pub trait AsyncErrorHandlerFunction:
    Send
    + Sync
    + 'static {
    type Future: Future<Output = ()> + Send;
    // Required method
    fn call(self, error: Arc<String>) -> Self::Future;
}Expand description
Trait alias for asynchronous error-handling functions used in a recoverable context.
- Functions implementing this trait must accept a Arc<String>as an error message, return aFuture, and satisfyFnOnce(Arc<String>) -> Future + Send + Sync + 'static.