Enum websocket_std::sync::client::WSEvent
source · pub enum WSEvent {
ON_CONNECT(Option<String>),
ON_TEXT(String),
ON_CLOSE(Reason),
}
Variants§
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