pub trait AnyError:
Error
+ Any
+ Send
+ Sync {
// Required method
fn as_any(&self) -> &dyn Any;
}Expand description
The global, dowcastable any Error trait of the library.
This trait is used instead of [Error] when an error that is not
known at compilation time cannot be placed in a generic due to
object-safe trait constraint. The main use case is for backend
features.