Enum longport_wscli::WsEvent
source · pub enum WsEvent {
Error(WsClientError),
Push {
command_code: u8,
body: Vec<u8>,
},
}Expand description
The event type of Websocket client
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WsEvent
impl Send for WsEvent
impl Sync for WsEvent
impl Unpin for WsEvent
impl !UnwindSafe for WsEvent
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