Enum jamsocket::MessageRecipient [−][src]
pub enum MessageRecipient {
Broadcast,
Client(ClientId),
}Expand description
Represents the recipient(s) of a message.
Messages may either be sent to a particular client by numeric id
(MessageRecipient::Client(3)), or be broadcast to all connected clients
(MessageRecipient::Broadcast).]
Variants
Client(ClientId)Tuple Fields of Client
0: ClientIdImplementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MessageRecipient
impl Send for MessageRecipient
impl Sync for MessageRecipient
impl Unpin for MessageRecipient
impl UnwindSafe for MessageRecipient
Blanket Implementations
Mutably borrows from an owned value. Read more