Skip to main content

AsyncCheck

Trait AsyncCheck 

Source
pub trait AsyncCheck {
    type Output;
    type Fut: Future<Output = Self::Output>;

    // Required method
    fn run(self) -> Self::Fut;
}
Expand description

A trait for any async harness that produces a verdict via a future.

Required Associated Types§

Source

type Output

Output of the check. Typically CheckResult.

Source

type Fut: Future<Output = Self::Output>

The future returned by run.

Required Methods§

Source

fn run(self) -> Self::Fut

Run the check.

Implementors§