pub enum WebSocketCommand {
Connect(String),
Disconnect,
Close,
Reconnect,
GetState(Sender<WebSocketState>),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WebSocketCommand
impl !UnwindSafe for WebSocketCommand
impl Freeze for WebSocketCommand
impl Send for WebSocketCommand
impl Sync for WebSocketCommand
impl Unpin for WebSocketCommand
impl UnsafeUnpin for WebSocketCommand
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