[][src]Trait ops_core::Checker

pub trait Checker: Send + Sync {
#[must_use]    fn check<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = CheckResponse> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

An interface for something that can be periodically checked.

Required methods

#[must_use]fn check<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = CheckResponse> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Runs the check and returns a CheckResponse.

Loading content...

Implementors

Loading content...