pub enum RTCStatsType {
Show 14 variants
Codec,
InboundRTP,
OutboundRTP,
RemoteInboundRTP,
RemoteOutboundRTP,
MediaSource,
MediaPlayout,
PeerConnection,
DataChannel,
Transport,
CandidatePair,
LocalCandidate,
RemoteCandidate,
Certificate,
}Expand description
The type of a statistics object.
This enum corresponds to the RTCStatsType enum in the W3C WebRTC Statistics API.
Each variant represents a different category of statistics that can be collected.
§Serialization
Values are serialized using the W3C-specified lowercase hyphenated format
(e.g., InboundRTP serializes to "inbound-rtp").
Variants§
Codec
Statistics for a media codec.
InboundRTP
Statistics for an inbound RTP stream.
OutboundRTP
Statistics for an outbound RTP stream.
RemoteInboundRTP
Statistics for an inbound RTP stream from the remote peer’s perspective.
RemoteOutboundRTP
Statistics for an outbound RTP stream from the remote peer’s perspective.
MediaSource
Statistics for a media source (audio or video).
MediaPlayout
Statistics for audio playout.
PeerConnection
Statistics for the peer connection.
DataChannel
Statistics for a data channel.
Transport
Statistics for the transport layer.
CandidatePair
Statistics for an ICE candidate pair.
LocalCandidate
Statistics for a local ICE candidate.
RemoteCandidate
Statistics for a remote ICE candidate.
Certificate
Statistics for a certificate.
Trait Implementations§
Source§impl Clone for RTCStatsType
impl Clone for RTCStatsType
Source§fn clone(&self) -> RTCStatsType
fn clone(&self) -> RTCStatsType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for RTCStatsType
Source§impl Debug for RTCStatsType
impl Debug for RTCStatsType
Source§impl<'de> Deserialize<'de> for RTCStatsType
impl<'de> Deserialize<'de> for RTCStatsType
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>,
impl Eq for RTCStatsType
Source§impl PartialEq for RTCStatsType
impl PartialEq for RTCStatsType
Source§impl Serialize for RTCStatsType
impl Serialize for RTCStatsType
impl StructuralPartialEq for RTCStatsType
Auto Trait Implementations§
impl Freeze for RTCStatsType
impl RefUnwindSafe for RTCStatsType
impl Send for RTCStatsType
impl Sync for RTCStatsType
impl Unpin for RTCStatsType
impl UnsafeUnpin for RTCStatsType
impl UnwindSafe for RTCStatsType
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.