pub trait IntoAnyError: Debug + Sized {
// Provided methods
fn into_any_error(self) -> AnyError { ... }
fn into_dyn_error(self) -> Result<Box<dyn Error + Send + Sync>, Self> { ... }
}
Expand description
Trait to convert a provider specific error into AnyError
Provided Methods§
fn into_any_error(self) -> AnyError
fn into_dyn_error(self) -> Result<Box<dyn Error + Send + Sync>, Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.