Enum packet_stream::PsPacketType
[−]
[src]
pub enum PsPacketType {
Binary,
String,
Json,
}An enumeration representing the different types a packet can have.
Variants
BinaryRaw binary data.
StringA utf-8 encoded string.
JsonA 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