Struct engine_io::packet::Packet [] [src]

pub struct Packet {
    pub id: ID,
    pub data: Vec<u8>,
}

Fields

Methods

impl Packet
[src]

Trait Implementations

impl Clone for Packet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Packet
[src]

impl PartialEq for Packet
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Packet
[src]

Formats the value using the given formatter.