Trait frodobuf::MessageDispatch[][src]

pub trait MessageDispatch {
    #[must_use]
    fn dispatch<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        ctx: &'life1 Context<'life2>,
        message: Message<'life3>
    ) -> Pin<Box<dyn Future<Output = Result<Message<'static>, RpcError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]
fn dispatch<'life0, 'life1, 'life2, 'life3, 'async_trait>(
    &'life0 self,
    ctx: &'life1 Context<'life2>,
    message: Message<'life3>
) -> Pin<Box<dyn Future<Output = Result<Message<'static>, RpcError>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    'life3: 'async_trait,
    Self: 'async_trait, 
[src]

Implementors