pub trait MessageSubscriber: Send + Sync {
    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
        'a: 'async_trait,
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

ADNL custom messages subscriber

Required Methods

Implementors