Enum packet_stream::PsPacketType
[−]
[src]
pub enum PsPacketType { Binary, String, Json, }
An enumeration representing the different types a packet can have.
Variants
Binary
Raw binary data.
String
A utf-8 encoded string.
Json
A valid piece of json.
Trait Implementations
impl Clone for PsPacketType
[src]
fn clone(&self) -> PsPacketType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more