pub trait AsyncHandler: Clone + Send + Sync {
    type Error: Error + Send + Sync + 'static;

    fn handler<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<&Self, Self::Error>> + Send + 'async_trait>>
    where
        Self: Sized + 'async_trait,
        'life0: 'async_trait
; }
Expand description

Required Associated Types§

Required Methods§

Implementors§