pub enum Broadcast {
Ready,
Connected(String),
Disconnected(String),
UnknownEvent(String),
}
Expand description
Broadcast events, such as a client disconnecting or connecting, may happen at any time.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Broadcast
impl RefUnwindSafe for Broadcast
impl Send for Broadcast
impl Sync for Broadcast
impl Unpin for Broadcast
impl UnwindSafe for Broadcast
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