actix_cloud::router

Trait Checker

Source
pub trait Checker {
    // Required method
    fn check<'life0, 'life1, 'async_trait>(
        &'life0 self,
        req: &'life1 mut ServiceRequest,
    ) -> Pin<Box<dyn Future<Output = Result<bool>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Available on crate feature router only.

Required Methods§

Source

fn check<'life0, 'life1, 'async_trait>( &'life0 self, req: &'life1 mut ServiceRequest, ) -> Pin<Box<dyn Future<Output = Result<bool>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§