pub struct ReportBlockBuilder { /* private fields */ }
Expand description
Report Block Builder
Implementations§
Source§impl ReportBlockBuilder
impl ReportBlockBuilder
pub fn new(ssrc: u32) -> Self
Sourcepub fn fraction_lost(self, fraction_lost: u8) -> Self
pub fn fraction_lost(self, fraction_lost: u8) -> Self
The fraction (out of 256) of packets lost
Sourcepub fn cumulative_lost(self, cumulative_lost: u32) -> Self
pub fn cumulative_lost(self, cumulative_lost: u32) -> Self
The cumulative count of packets lost. Value must be limited to the sie of a 24-bit value.
Sourcepub fn extended_sequence_number(self, extended_sequence_number: u32) -> Self
pub fn extended_sequence_number(self, extended_sequence_number: u32) -> Self
The extended sequence number
Sourcepub fn interarrival_jitter(self, interarrival_jitter: u32) -> Self
pub fn interarrival_jitter(self, interarrival_jitter: u32) -> Self
The inter arrival jitter
Sourcepub fn last_sender_report_timestamp(
self,
last_sender_report_timestamp: u32,
) -> Self
pub fn last_sender_report_timestamp( self, last_sender_report_timestamp: u32, ) -> Self
The NTP 16.16 fixed point time of the last sender report
Sourcepub fn delay_since_last_sender_report_timestamp(
self,
delay_since_last_sender_report_timestamp: u32,
) -> Self
pub fn delay_since_last_sender_report_timestamp( self, delay_since_last_sender_report_timestamp: u32, ) -> Self
The NTP 16.16 fixed point duration since the last sender report
Trait Implementations§
Source§impl Debug for ReportBlockBuilder
impl Debug for ReportBlockBuilder
Source§impl PartialEq for ReportBlockBuilder
impl PartialEq for ReportBlockBuilder
impl Eq for ReportBlockBuilder
impl StructuralPartialEq for ReportBlockBuilder
Auto Trait Implementations§
impl Freeze for ReportBlockBuilder
impl RefUnwindSafe for ReportBlockBuilder
impl Send for ReportBlockBuilder
impl Sync for ReportBlockBuilder
impl Unpin for ReportBlockBuilder
impl UnwindSafe for ReportBlockBuilder
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