pub struct RtcSentRtpStreamStats {
pub stream: RtcRtpStreamStats,
pub packets_sent: Option<u64>,
pub bytes_sent: Option<u64>,
}Expand description
Statistics measured at the sending end of an RTP stream, known either because they’re measured locally or because they’re received via RTCP, usually in an RTCP Sender Report (SR).
Fields§
§stream: RtcRtpStreamStatsGeneric RTP stream data.
packets_sent: Option<u64>Total number of RTP packets sent for this SSRC.
This includes retransmissions.
Calculated as defined in RFC3550 Section 6.4.1.
bytes_sent: Option<u64>Total number of bytes sent for this SSRC.
This includes retransmissions.
Calculated as defined in RFC3550 Section 6.4.1.
Trait Implementations§
Source§impl Clone for RtcSentRtpStreamStats
impl Clone for RtcSentRtpStreamStats
Source§fn clone(&self) -> RtcSentRtpStreamStats
fn clone(&self) -> RtcSentRtpStreamStats
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RtcSentRtpStreamStats
impl Debug for RtcSentRtpStreamStats
Source§impl<'de> Deserialize<'de> for RtcSentRtpStreamStats
impl<'de> Deserialize<'de> for RtcSentRtpStreamStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for RtcSentRtpStreamStats
impl Hash for RtcSentRtpStreamStats
Source§impl PartialEq for RtcSentRtpStreamStats
impl PartialEq for RtcSentRtpStreamStats
Source§impl Serialize for RtcSentRtpStreamStats
impl Serialize for RtcSentRtpStreamStats
impl Eq for RtcSentRtpStreamStats
impl StructuralPartialEq for RtcSentRtpStreamStats
Auto Trait Implementations§
impl Freeze for RtcSentRtpStreamStats
impl RefUnwindSafe for RtcSentRtpStreamStats
impl Send for RtcSentRtpStreamStats
impl Sync for RtcSentRtpStreamStats
impl Unpin for RtcSentRtpStreamStats
impl UnwindSafe for RtcSentRtpStreamStats
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)