pub trait Failure {
    type Error: FailureMode;

    fn failure(self) -> Option<Self::Error>;
}
Expand description

Something that can be returned by a function marked with #[sysfail(log)].

Required Associated Types§

The actual error’s type in this failure.

Required Methods§

The actual error in this failure, None if the failure isn’t a failure.

Implementations on Foreign Types§

Implementors§