pub struct WebSocketClientBundle {
pub tx: UnboundedSender<Message>,
pub session_info: SessionInfo,
pub handle: JoinHandle<()>,
}Expand description
WebSocket client bundle containing connection and session info
Fields§
§tx: UnboundedSender<Message>§session_info: SessionInfo§handle: JoinHandle<()>Trait Implementations§
Source§impl Debug for WebSocketClientBundle
impl Debug for WebSocketClientBundle
Source§impl Drop for WebSocketClientBundle
impl Drop for WebSocketClientBundle
Auto Trait Implementations§
impl Freeze for WebSocketClientBundle
impl RefUnwindSafe for WebSocketClientBundle
impl Send for WebSocketClientBundle
impl Sync for WebSocketClientBundle
impl Unpin for WebSocketClientBundle
impl UnsafeUnpin for WebSocketClientBundle
impl UnwindSafe for WebSocketClientBundle
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