pub trait PanicError {
// Provided methods
fn panic_str(&self) -> !
where Self: AsRef<str> { ... }
fn panic_static_str(self) -> !
where Self: Into<&'static str> { ... }
fn panic_display(&self) -> !
where Self: Display { ... }
}Provided Methods§
fn panic_str(&self) -> !
fn panic_static_str(self) -> !
fn panic_display(&self) -> !where
Self: Display,
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.