pub enum TableMessage {
Send(SignedMessage),
PlayerLeft,
Throttle(Duration),
Close,
}Expand description
A message sent to player connections.
Variants§
Send(SignedMessage)
Sends a message to a client.
PlayerLeft
Tell the client to leave the table.
Throttle(Duration)
Tell the client to introduce a delay between messages.
Close
Close a client connection.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableMessage
impl RefUnwindSafe for TableMessage
impl Send for TableMessage
impl Sync for TableMessage
impl Unpin for TableMessage
impl UnsafeUnpin for TableMessage
impl UnwindSafe for TableMessage
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