Enum slimproto::proto::ClientMessage[][src]

pub enum ClientMessage {
    Helo {
        device_id: u8,
        revision: u8,
        mac: MacAddress,
        uuid: [u8; 16],
        wlan_channel_list: u16,
        bytes_received: u64,
        language: [char; 2],
        capabilities: String,
    },
    Stat {
        event_code: String,
        stat_data: StatusData,
    },
    Bye(u8),
    Name(String),
}

A type that describes all messages that are sent from the client to the server.

Variants

Helo
Show fields

Fields of Helo

device_id: u8revision: u8mac: MacAddressuuid: [u8; 16]wlan_channel_list: u16bytes_received: u64language: [char; 2]capabilities: String
Stat
Show fields

Fields of Stat

event_code: Stringstat_data: StatusData
Bye(u8)
Name(String)

Trait Implementations

impl Debug for ClientMessage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.