pub struct Xr<'a> { /* private fields */ }
Expand description
A parsed extended report packet as specified in RFC 3611.
Implementations§
Source§impl<'a> Xr<'a>
impl<'a> Xr<'a>
Sourcepub fn builder() -> XrBuilder
pub fn builder() -> XrBuilder
Constructs a XrBuilder
which refers to the provided XrBlockBuilder
.
Sourcepub fn sender_ssrc(&self) -> u32
pub fn sender_ssrc(&self) -> u32
The SSRC of the sender sending this feedback
Sourcepub fn block_iter(&'a self) -> impl Iterator<Item = XrBlock<'a>> + 'a
pub fn block_iter(&'a self) -> impl Iterator<Item = XrBlock<'a>> + 'a
Iterator over the individual blocks in the Xr
packet.
Trait Implementations§
Source§impl RtcpPacket for Xr<'_>
impl RtcpPacket for Xr<'_>
Source§const MIN_PACKET_LEN: usize = 12usize
const MIN_PACKET_LEN: usize = 12usize
The minimum size of a particular RTCP packet. A packet shorter than this value will
produce a parsing error.
Source§const PACKET_TYPE: u8 = 207u8
const PACKET_TYPE: u8 = 207u8
The RTCP type of the particular RTCP packet.
Source§impl<'a> RtcpPacketParser<'a> for Xr<'a>
impl<'a> RtcpPacketParser<'a> for Xr<'a>
impl<'a> Eq for Xr<'a>
impl<'a> StructuralPartialEq for Xr<'a>
Auto Trait Implementations§
impl<'a> Freeze for Xr<'a>
impl<'a> RefUnwindSafe for Xr<'a>
impl<'a> Send for Xr<'a>
impl<'a> Sync for Xr<'a>
impl<'a> Unpin for Xr<'a>
impl<'a> UnwindSafe for Xr<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more