Enum string_telephone::packet::PacketType [-]  [+] [src]

pub enum PacketType {
    Connect,
    Accept,
    Reject,
    Disconnect,
    Message,
}

Headers for various different built-in message types

Variants

Connect
Accept
Reject
Disconnect
Message

Trait Implementations

Derived Implementations

impl Copy for PacketType

impl PartialEq for PacketType

fn eq(&self, __arg_0: &PacketType) -> bool

fn ne(&self, __arg_0: &PacketType) -> bool

impl Show for PacketType

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for PacketType

fn clone(&self) -> PacketType

fn clone_from(&mut self, source: &Self)

impl FromPrimitive for PacketType

fn from_i64(__arg_0: i64) -> Option<PacketType>

fn from_u64(__arg_0: u64) -> Option<PacketType>

fn from_int(n: isize) -> Option<Self>

fn from_i8(n: i8) -> Option<Self>

fn from_i16(n: i16) -> Option<Self>

fn from_i32(n: i32) -> Option<Self>

fn from_uint(n: usize) -> Option<Self>

fn from_u8(n: u8) -> Option<Self>

fn from_u16(n: u16) -> Option<Self>

fn from_u32(n: u32) -> Option<Self>

fn from_f32(n: f32) -> Option<Self>

fn from_f64(n: f64) -> Option<Self>