Enum ratchet_rs::PayloadType [−][src]
pub enum PayloadType {
Text,
Binary,
Ping,
}
Expand description
The type of a payload to send to a peer.
Variants
Text
A text message.
Binary
A binary message.
Ping
A ping message.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PayloadType
impl Send for PayloadType
impl Sync for PayloadType
impl Unpin for PayloadType
impl UnwindSafe for PayloadType
Blanket Implementations
Mutably borrows from an owned value. Read more