Trait lemmy_apub_lib::ActivityHandler[][src]

pub trait ActivityHandler {
    fn verify<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        context: &'life1 LemmyContext,
        request_counter: &'life2 mut i32
    ) -> Pin<Box<dyn Future<Output = Result<(), LemmyError>> + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn receive<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        context: &'life1 LemmyContext,
        request_counter: &'life2 mut i32
    ) -> Pin<Box<dyn Future<Output = Result<(), LemmyError>> + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn common(&self) -> &ActivityCommonFields; }

Required methods

Implementors