Enum srt_protocol::packet::Packet
source[−]pub enum Packet {
Data(DataPacket),
Control(ControlPacket),
}
Expand description
Represents A UDT/SRT packet
Variants
Data(DataPacket)
Tuple Fields
0: DataPacket
Control(ControlPacket)
Tuple Fields
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Packet
impl UnwindSafe for Packet
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.