[][src]Trait recloser::ErrorPredicate

pub trait ErrorPredicate<E> {
    fn is_err(&self, err: &E) -> bool;
}

A trait used to determine whether an E should be considered as a failure.

Required methods

fn is_err(&self, err: &E) -> bool

Loading content...

Implementors

impl<E> ErrorPredicate<E> for AnyError[src]

impl<F, E> ErrorPredicate<E> for F where
    F: Fn(&E) -> bool
[src]

Loading content...