pub trait MessageSubscriber: Send + Sync {
    // Required method
    fn try_consume_custom<'a, 'life0, 'async_trait>(
        &'life0 self,
        ctx: SubscriberContext<'a>,
        constructor: u32,
        data: &'a [u8]
    ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
}
Expand description

ADNL custom messages subscriber

Required Methods§

source

fn try_consume_custom<'a, 'life0, 'async_trait>( &'life0 self, ctx: SubscriberContext<'a>, constructor: u32, data: &'a [u8] ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

Implementors§