Skip to main content

RequestPreflight

Trait RequestPreflight 

Source
pub trait RequestPreflight: MaybeSend + MaybeSync {
    // Required method
    fn check<'life0, 'life1, 'async_trait>(
        &'life0 self,
        fetch: &'life1 dyn ConfigurationFetch,
    ) -> Pin<Box<dyn Future<Output = Result<(), PreflightError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn check<'life0, 'life1, 'async_trait>( &'life0 self, fetch: &'life1 dyn ConfigurationFetch, ) -> Pin<Box<dyn Future<Output = Result<(), PreflightError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§