Enum packet_stream::PsPacketType [] [src]

pub enum PsPacketType {
    Binary,
    String,
    Json,
}

An enumeration representing the different types a packet can have.

Variants

Raw binary data.

A utf-8 encoded string.

A valid piece of json.

Trait Implementations

impl Clone for PsPacketType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for PsPacketType
[src]