pub trait RtcpPacket {
const MIN_PACKET_LEN: usize;
const PACKET_TYPE: u8;
const VERSION: u8 = 2;
const MAX_COUNT: u8 = 0x1f;
}Expand description
A Trait defining RTCP Packet structural data.
Required Associated Constants§
Sourceconst MIN_PACKET_LEN: usize
const MIN_PACKET_LEN: usize
The minimum size of a particular RTCP packet. A packet shorter than this value will produce a parsing error.
Sourceconst PACKET_TYPE: u8
const PACKET_TYPE: u8
The RTCP type of the particular RTCP packet.
Provided Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".