[−][src]Trait tab_websocket::bus::WebsocketMessageBus
Defines a Send and Receive message type, and constrains the Message implementation on the bus. Allows the WebsocketConnectionBus to carry messages onto the bus.
Defines a Send and Receive message type, and constrains the Message implementation on the bus. Allows the WebsocketConnectionBus to carry messages onto the bus.
type Send: Message<Self, Channel = Sender<Self::Send>> + Clone + Send + Sync + Serialize + 'static
type Recv: Message<Self, Channel = Sender<Self::Recv>> + Clone + DeserializeOwned + Send + Sync + 'static