pub trait ErrorHandlerFunction:
Fn(&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 satisfyFn(&str) + Send + Sync + 'static.