[][src]Trait whaterror::FatalError

pub trait FatalError<T> {
    pub fn handle(self, handler: T);
}

Represents an error to be handled by whaterror.

Required methods

pub fn handle(self, handler: T)[src]

Handle the error using the provided handler.

Loading content...

Implementations on Foreign Types

impl<T> FatalError<T> for Infallible[src]

Loading content...

Implementors

impl FatalError<()> for NoneError[src]

impl<E, F> FatalError<F> for Error<E> where
    F: FnOnce(E), 
[src]

impl<F> FatalError<F> for NoneError where
    F: FnOnce(), 
[src]

Loading content...