IsFatalError

Trait IsFatalError 

Source
pub trait IsFatalError {
    // Required method
    fn is_fatal(&self) -> bool;
}
Expand description

A trait for errors to tell whether they are fatal.

This is used for determining whether the server should continue runnin or stop.

Required Methods§

Source

fn is_fatal(&self) -> bool

Returns true if all future operations will (very likely) fail.

Implementations on Foreign Types§

Source§

impl IsFatalError for Void

Source§

fn is_fatal(&self) -> bool

Implementors§