Skip to main content

PreflightCheck

Trait PreflightCheck 

Source
pub trait PreflightCheck: Send + Sync {
    // Required methods
    fn name(&self) -> &'static str;
    fn run<'life0, 'life1, 'async_trait>(
        &'life0 self,
        config: &'life1 RalphConfig,
    ) -> Pin<Box<dyn Future<Output = CheckResult> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

A single preflight check.

Required Methods§

Source

fn name(&self) -> &'static str

Source

fn run<'life0, 'life1, 'async_trait>( &'life0 self, config: &'life1 RalphConfig, ) -> Pin<Box<dyn Future<Output = CheckResult> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§