pub trait EventHandler {
    fn handle_error<'life0, 'async_trait>(
        &'life0 self,
        error: APIError,
        tag: Option<String>,
        event_type: EventType
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
   where
        'life0: 'async_trait,
        Self: 'async_trait
; fn player<'life0, 'async_trait>(
        &'life0 self,
        old_player: Option<Player>,
        new_player: Player
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
   where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... } fn clan<'life0, 'async_trait>(
        &'life0 self,
        old_clan: Option<Clan>,
        new_clan: Clan
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
   where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... } fn war<'life0, 'async_trait>(
        &'life0 self,
        old_war: Option<War>,
        new_war: War
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
   where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... } }

Required Methods

Provided Methods

Implementors