Struct interceptor::stats::RTPStats
source · pub struct RTPStats { /* private fields */ }
Expand description
Records stats about a given RTP stream.
Implementations§
source§impl RTPStats
impl RTPStats
pub fn header_bytes(&self) -> u64
pub fn payload_bytes(&self) -> u64
pub fn packets(&self) -> u64
pub fn last_packet_timestamp(&self) -> Option<SystemTime>
Trait Implementations§
source§impl PartialEq for RTPStats
impl PartialEq for RTPStats
impl Eq for RTPStats
impl StructuralPartialEq for RTPStats
Auto Trait Implementations§
impl RefUnwindSafe for RTPStats
impl Send for RTPStats
impl Sync for RTPStats
impl Unpin for RTPStats
impl UnwindSafe for RTPStats
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