pub trait ErrorHandlerFunction:
FnOnce(&str)
+ Send
+ Sync
+ 'static { }Expand description
Trait alias for error-handling functions used in a recoverable context.
- Functions implementing this trait must accept a
&stras an error message and satisfyFnOnce(&str) + Send + Sync + 'static.