pub trait MessageHandler:
Sync
+ Send
+ 'static {
type Message: MessageCodec;
// Required method
fn process<'life0, 'async_trait>(
&'life0 self,
ctx: Context,
msg: Self::Message,
) -> Pin<Box<dyn Future<Output = ProtocolResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}