[][src]Trait wx_work::server::App

pub trait App: Send + Sync + 'static {
#[must_use]    fn handle<'life0, 'async_trait>(
        &'life0 self,
        msg: RecvMessage
    ) -> Pin<Box<dyn Future<Output = Option<SendMessage>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn handle<'life0, 'async_trait>(
    &'life0 self,
    msg: RecvMessage
) -> Pin<Box<dyn Future<Output = Option<SendMessage>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

Loading content...