pub struct StatsReport {
pub inbound_rtp: Vec<InboundRtpStats>,
pub outbound_rtp: Vec<OutboundRtpStats>,
pub candidate_pairs: Vec<IceCandidatePairStats>,
pub data_channels: Vec<DataChannelStats>,
pub sctp: Option<SctpStats>,
}Expand description
A snapshot of the stats delivered by PeerConnection::get_stats.
Fields§
§inbound_rtp: Vec<InboundRtpStats>§outbound_rtp: Vec<OutboundRtpStats>§candidate_pairs: Vec<IceCandidatePairStats>§data_channels: Vec<DataChannelStats>§sctp: Option<SctpStats>The SCTP association; None before a data channel has created it.
Trait Implementations§
Source§impl Clone for StatsReport
impl Clone for StatsReport
Source§impl Debug for StatsReport
impl Debug for StatsReport
Auto Trait Implementations§
impl Freeze for StatsReport
impl RefUnwindSafe for StatsReport
impl Send for StatsReport
impl Sync for StatsReport
impl Unpin for StatsReport
impl UnsafeUnpin for StatsReport
impl UnwindSafe for StatsReport
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