pub struct WebsocketSend(pub Message);Expand description
A message sent over the websocket, wraps tungstenite::Message
Tuple Fields§
§0: MessageTrait Implementations§
Source§impl Debug for WebsocketSend
impl Debug for WebsocketSend
Source§impl Message<WebsocketConnectionBus> for WebsocketSend
impl Message<WebsocketConnectionBus> for WebsocketSend
type Channel = Sender<WebsocketSend>
Auto Trait Implementations§
impl Freeze for WebsocketSend
impl RefUnwindSafe for WebsocketSend
impl Send for WebsocketSend
impl Sync for WebsocketSend
impl Unpin for WebsocketSend
impl UnsafeUnpin for WebsocketSend
impl UnwindSafe for WebsocketSend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more