Trait ops::Checker [−][src]
pub trait Checker: Send + Sync { fn check<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = CheckResponse> + Send + 'async_trait, Global>>
where
'life0: 'async_trait,
Self: 'async_trait; }
Expand description
An interface for something that can be periodically checked.
Required methods
Runs the check and returns a CheckResponse
.