Enum tf_demo_parser::demo::packet::Packet [−][src]
pub enum Packet<'a> {
Sigon(MessagePacket<'a>),
Message(MessagePacket<'a>),
SyncTick(SyncTickPacket),
ConsoleCmd(ConsoleCmdPacket),
UserCmd(UserCmdPacket),
DataTables(DataTablePacket),
Stop(StopPacket),
StringTables(StringTablePacket<'a>),
}Variants
Tuple Fields of Sigon
0: MessagePacket<'a>Tuple Fields of Message
0: MessagePacket<'a>Tuple Fields of SyncTick
Tuple Fields of ConsoleCmd
Tuple Fields of UserCmd
Tuple Fields of DataTables
Tuple Fields of Stop
0: StopPacketTuple Fields of StringTables
0: StringTablePacket<'a>Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
fn encode(
&self,
stream: &mut BitWriteStream<'_, LittleEndian>,
state: &ParserState
) -> Result<()>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Packet<'a>
impl<'a> UnwindSafe for Packet<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more