Trait gaia_tmtc::handler::Hook

source ·
pub trait Hook<Input> {
    type Output;

    // Required method
    fn hook<'life0, 'async_trait>(
        &'life0 mut self,
        input: Input,
    ) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

Required Methods§

source

fn hook<'life0, 'async_trait>( &'life0 mut self, input: Input, ) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§