Enum tf_demo_parser::demo::packet::PacketType [−][src]
#[repr(u8)]
pub enum PacketType {
Sigon,
Message,
SyncTick,
ConsoleCmd,
UserCmd,
DataTables,
Stop,
StringTables,
}Variants
Trait Implementations
Read the type from stream
The number of bits that will be read or None if the number of bits will change depending on the bit stream Read more
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PacketTypeimpl Send for PacketTypeimpl Sync for PacketTypeimpl Unpin for PacketTypeimpl UnwindSafe for PacketTypeBlanket Implementations
Mutably borrows from an owned value. Read more
type Err = Infallible