pub struct WsClientState {
pub subscription: WsSubscription,
pub status: WsConnectionStatus,
/* private fields */
}Expand description
WebSocket client state (simulated - actual WebSocket requires additional deps).
Fields§
§subscription: WsSubscriptionCurrent subscription
status: WsConnectionStatusConnection status
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WsClientState
impl RefUnwindSafe for WsClientState
impl Send for WsClientState
impl Sync for WsClientState
impl Unpin for WsClientState
impl UnwindSafe for WsClientState
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