Skip to main content

QualityGate

Trait QualityGate 

Source
pub trait QualityGate: Send + Sync {
    // Required method
    fn evaluate<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        request: &'life1 HarnessRequest,
        outcome: &'life2 HarnessOutcome,
    ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

Source

fn evaluate<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, request: &'life1 HarnessRequest, outcome: &'life2 HarnessOutcome, ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§