pub enum WSEvent {
ON_CONNECT(Option<String>),
ON_TEXT(String),
ON_CLOSE(Reason),
}
Variants§
Auto Trait Implementations§
impl Freeze for WSEvent
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