pub struct PacketReceiptTimes<'a> { /* private fields */ }
Expand description
Packet Receipt Times information as specified in RFC 3611
Implementations§
Source§impl PacketReceiptTimes<'_>
impl PacketReceiptTimes<'_>
Sourcepub fn thinning(&self) -> u8
pub fn thinning(&self) -> u8
The amount of thinning applied to the sequence number space. Every 2^thinning sequence number has been reported
Sourcepub fn media_ssrc(&self) -> u32
pub fn media_ssrc(&self) -> u32
The SSRC of the media being reported on
Sourcepub fn begin(&self) -> u16
pub fn begin(&self) -> u16
This is the (inclusive) start of the sequence number range being reported in this Rle block. This start value is included in the range.
Sourcepub fn end(&self) -> u16
pub fn end(&self) -> u16
This is the (exclusive) end of the sequence number range being reported in this Rle block. This end value is not included in the range.
Sourcepub fn sequence_iter(&self) -> impl Iterator<Item = (u16, u32)> + '_
pub fn sequence_iter(&self) -> impl Iterator<Item = (u16, u32)> + '_
An iterator over the sequence numbers in this PacketReceiptTimes
.
Sourcepub fn builder() -> PacketReceiptTimesBuilder
pub fn builder() -> PacketReceiptTimesBuilder
Returns a PacketReceiptTimesBuilder
for constructing a PacketReceiptTimes
block.
Trait Implementations§
Source§impl<'a> Debug for PacketReceiptTimes<'a>
impl<'a> Debug for PacketReceiptTimes<'a>
Source§impl<'a> XrBlockParser<'a> for PacketReceiptTimes<'a>
impl<'a> XrBlockParser<'a> for PacketReceiptTimes<'a>
Source§impl XrBlockStaticType for PacketReceiptTimes<'_>
impl XrBlockStaticType for PacketReceiptTimes<'_>
Source§const BLOCK_TYPE: u8 = 3u8
const BLOCK_TYPE: u8 = 3u8
The block type identifier within a XR packet.
Auto Trait Implementations§
impl<'a> Freeze for PacketReceiptTimes<'a>
impl<'a> RefUnwindSafe for PacketReceiptTimes<'a>
impl<'a> Send for PacketReceiptTimes<'a>
impl<'a> Sync for PacketReceiptTimes<'a>
impl<'a> Unpin for PacketReceiptTimes<'a>
impl<'a> UnwindSafe for PacketReceiptTimes<'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