pub enum EventMessageType {
Welcome,
KeepAlive,
Notification,
Reconnect,
Unknown,
}Variants§
Implementations§
Source§impl EventMessageType
impl EventMessageType
pub fn from_string(t: &str) -> EventMessageType
Auto Trait Implementations§
impl Freeze for EventMessageType
impl RefUnwindSafe for EventMessageType
impl Send for EventMessageType
impl Sync for EventMessageType
impl Unpin for EventMessageType
impl UnwindSafe for EventMessageType
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