[][src]Trait wechat_mp::WechatCallBackHandler

pub trait WechatCallBackHandler: Send + Sync {
#[must_use]    fn handler_callback<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        wechat: &'life1 Wechat,
        context: &'life2 SaasContext,
        prev_result: Option<ReplyMessage>,
        message: &'life3 CallbackMessage
    ) -> Pin<Box<dyn Future<Output = Result<Option<ReplyMessage>, WechatError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
, { ... } }

Provided methods

#[must_use]fn handler_callback<'life0, 'life1, 'life2, 'life3, 'async_trait>(
    &'life0 self,
    wechat: &'life1 Wechat,
    context: &'life2 SaasContext,
    prev_result: Option<ReplyMessage>,
    message: &'life3 CallbackMessage
) -> Pin<Box<dyn Future<Output = Result<Option<ReplyMessage>, WechatError>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    'life3: 'async_trait,
    Self: 'async_trait, 

处理微信回调响应事件

Loading content...

Implementors

Loading content...