pub trait FailurePredicate<ERROR> {
    fn is_err(&self, err: &ERROR) -> bool;
}
Expand description

Evaluates if an error should be recorded as a failure and thus increase the failure rate.

Required Methods

Must return true if the error should count as a failure, otherwise it must return false.

Implementors