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§

source§

impl Hook<Arc<Tco>> for gaia_tmtc::command::SanitizeHook

§

type Output = Arc<Tco>

source§

impl Hook<Arc<Tco>> for RecordHook

§

type Output = Arc<Tco>

source§

impl Hook<Arc<Tmiv>> for RecordHook

§

type Output = Arc<Tmiv>

source§

impl Hook<Arc<Tmiv>> for gaia_tmtc::telemetry::SanitizeHook

§

type Output = Arc<Tmiv>

source§

impl Hook<Arc<Tmiv>> for StoreLastTmivHook

§

type Output = Arc<Tmiv>