Trait fatality::Fatality

source ·
pub trait Fatality: Error + Debug {
    // Required method
    fn is_fatal(&self) -> bool;
}
Expand description

Determine the fatality of an error.

Required Methods§

source

fn is_fatal(&self) -> bool

Returns true if the error variant is fatal or false if it is more of a informational error.

Implementors§