pub struct RtcPeerConnectionStats {
pub data_channels_opened: Option<u32>,
pub data_channels_closed: Option<u32>,
}Expand description
Statistics for an RTCPeerConnection object.
Fields§
§data_channels_opened: Option<u32>Number of unique RTCDataChannels that have entered the
open state during their lifetime.
data_channels_closed: Option<u32>Number of unique RTCDataChannels that have left the open state
during their lifetime (due to being closed by either end or the
underlying transport being closed).
RTCDataChannels that transition from connecting to
closing or closed state without ever being open are
not counted in this number.
Trait Implementations§
Source§impl Clone for RtcPeerConnectionStats
impl Clone for RtcPeerConnectionStats
Source§fn clone(&self) -> RtcPeerConnectionStats
fn clone(&self) -> RtcPeerConnectionStats
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 RtcPeerConnectionStats
impl Debug for RtcPeerConnectionStats
Source§impl<'de> Deserialize<'de> for RtcPeerConnectionStats
impl<'de> Deserialize<'de> for RtcPeerConnectionStats
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 RtcPeerConnectionStats
impl Hash for RtcPeerConnectionStats
Source§impl PartialEq for RtcPeerConnectionStats
impl PartialEq for RtcPeerConnectionStats
Source§impl Serialize for RtcPeerConnectionStats
impl Serialize for RtcPeerConnectionStats
impl Copy for RtcPeerConnectionStats
impl Eq for RtcPeerConnectionStats
impl StructuralPartialEq for RtcPeerConnectionStats
Auto Trait Implementations§
impl Freeze for RtcPeerConnectionStats
impl RefUnwindSafe for RtcPeerConnectionStats
impl Send for RtcPeerConnectionStats
impl Sync for RtcPeerConnectionStats
impl Unpin for RtcPeerConnectionStats
impl UnwindSafe for RtcPeerConnectionStats
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)