Trait viz::FnExt

source ·
pub trait FnExt<E>: 'static + Clone + Send + Sync {
    type Output;

    fn call<'life0, 'async_trait>(
        &'life0 self,
        req: Request<Body>
    ) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

A handler with extractors.

Required Associated Types§

The returned type after the call operator is used.

Required Methods§

Performs the call operation.

Implementors§