pub trait WebSocket{
// Required methods
fn send<'life0, 'async_trait>(
&'life0 self,
data: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<SendResult, BusError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn blocking_send(&self, data: Vec<u8>) -> Result<SendResult, BusError>;
fn as_client(&self) -> Option<WebSocketClient>;
}