/// Stores only one packet, without allocating on the heap.
Stores only one packet, without allocating on the heap.
Stores only one packet without allocating on the heap .
pub fn one(packet: Packet, packet_type: PacketType) -> Self {
        Self {
            data: ZeroOrMore::one((packet, packet_type)),
        }
    }
pub fn one ( packet : Packet , packet_type : PacketType ) -> Self { Self { data : ZeroOrMore :: one ( ( packet , packet_type ) ) , } }
Stores only one packet, without allocating on the heap.
Stores only one packet without allocating on the heap .
packet
Packet
packet_type
PacketType