pub trait NNPushHandler:
Send
+ Sync
+ 'static {
// Required method
fn on_push<'life0, 'async_trait>(
&'life0 self,
cmd_id: u16,
body: Bytes,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
推送处理器 trait