pub trait BaseError: Debug + Display {
// Provided methods
fn source(&self) -> Option<&(dyn BaseError + 'static)> { ... }
fn type_id(&self, _: Internal) -> TypeId
where Self: 'static { ... }
fn backtrace(&self) -> Option<()> { ... }
}Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".