Trait hotshot_testing::predicates::Predicate
source · pub trait Predicate<INPUT>: Debug {
// Required methods
fn evaluate<'life0, 'life1, 'async_trait>(
&'life0 self,
input: &'life1 INPUT,
) -> Pin<Box<dyn Future<Output = PredicateResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}