pub enum WsBaseEvent {
Open,
Close(Option<String>),
Error(String),
}Expand description
基础 WebSocket 事件
Variants§
Trait Implementations§
Source§impl Clone for WsBaseEvent
impl Clone for WsBaseEvent
Auto Trait Implementations§
impl Forget for WsBaseEvent
impl Freeze for WsBaseEvent
impl Move for WsBaseEvent
impl RefUnwindSafe for WsBaseEvent
impl Send for WsBaseEvent
impl Sync for WsBaseEvent
impl Unpin for WsBaseEvent
impl UnsafeUnpin for WsBaseEvent
impl UnwindSafe for WsBaseEvent
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