Trait darpi::RequestJobFactory[][src]

pub trait RequestJobFactory<C, T = ()> where
    C: 'static + Sync + Send
{ type HandlerArgs; type Return: Into<Job<T>>; #[must_use] pub fn call<'life0, 'async_trait>(
        p: &'life0 Request<Body>,
        module: Arc<C>,
        ha: Self::HandlerArgs
    ) -> Pin<Box<dyn Future<Output = Self::Return> + 'async_trait + Send, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Associated Types

Loading content...

Required methods

#[must_use]pub fn call<'life0, 'async_trait>(
    p: &'life0 Request<Body>,
    module: Arc<C>,
    ha: Self::HandlerArgs
) -> Pin<Box<dyn Future<Output = Self::Return> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

Loading content...