Struct rtcp_types::ReportBlock
source · pub struct ReportBlock<'a> { /* private fields */ }
Implementations§
source§impl<'a> ReportBlock<'a>
impl<'a> ReportBlock<'a>
pub const EXPECTED_SIZE: usize = 24usize
pub fn parse(data: &'a [u8]) -> Result<Self, RtcpParseError>
pub fn ssrc(&self) -> u32
pub fn fraction_lost(&self) -> u8
pub fn cumulative_lost(&self) -> u32
pub fn extended_sequence_number(&self) -> u32
pub fn interarrival_jitter(&self) -> u32
pub fn last_sender_report_timestamp(&self) -> u32
pub fn delay_since_last_sender_report_timestamp(&self) -> u32
pub fn builder(ssrc: u32) -> ReportBlockBuilder
Trait Implementations§
source§impl<'a> Debug for ReportBlock<'a>
impl<'a> Debug for ReportBlock<'a>
source§impl<'a> PartialEq for ReportBlock<'a>
impl<'a> PartialEq for ReportBlock<'a>
source§fn eq(&self, other: &ReportBlock<'a>) -> bool
fn eq(&self, other: &ReportBlock<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for ReportBlock<'a>
impl<'a> StructuralEq for ReportBlock<'a>
impl<'a> StructuralPartialEq for ReportBlock<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ReportBlock<'a>
impl<'a> Send for ReportBlock<'a>
impl<'a> Sync for ReportBlock<'a>
impl<'a> Unpin for ReportBlock<'a>
impl<'a> UnwindSafe for ReportBlock<'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