pub trait StackableErrorTrait:
Display
+ Any
+ Send
+ Sync
+ 'static { }Expand description
Trait implemented for all T: Display + Send + Sync + 'static
This is a clever workaround from
https://users.rust-lang.org/t/impossible-to-use-any-combined-with-any-other-trait/85949/5
needed to enable using a type in both dyn Display form for displaying and
in dyn Any + Send + Sync form for later downcasting