Enum string_telephone::server::PacketOrCommand [-]  [+] [src]

pub enum PacketOrCommand<T> {
    UserPacket(T),
    Command(PacketType),
}

Types of packet we can receive as a server

Variants

UserPacket

A message packet, containing whichever type we're set up to handle

Command

An internal control packet