Trait mattermost_api::client::WebsocketHandler [−][src]
pub trait WebsocketHandler: Send + Sync {
fn callback<'life0, 'async_trait>(
&'life0 self,
_message: Message
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait,
{ ... }
}
Expand description
Handler trait for receving websocket messages.