[−]Trait netsim_embed::FromPacket
Used to convert on-the-wire packets to their #[packet] equivalent.
Associated Types
type T
The type of the packet to convert from.
Required methods
pub fn from_packet(&self) -> Self::T
Converts a wire-format packet to #[packet] struct format.