pub trait Exception: From<Error> + Error {
// Required method
fn is_critical(&self) -> bool;
}Expand description
An exception.
Required Methods§
Sourcefn is_critical(&self) -> bool
fn is_critical(&self) -> bool
Returns true if an error is critical and not recoverable.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".