pub trait RtcpPacket {
const MIN_PACKET_LEN: usize;
const PACKET_TYPE: u8;
const VERSION: u8 = 2u8;
const MAX_COUNT: u8 = 31u8;
}
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", so this trait is not object safe.