pub enum SenderStatsKind {
Audio {
media_source_id: Option<String>,
},
Video {
media_source_id: Option<String>,
},
}
Expand description
Statistics related to a specific RTCRtpSender and the corresponding media-level metrics.
RtcStatsType::Sender
variant.
Variants§
Trait Implementations§
source§impl Clone for SenderStatsKind
impl Clone for SenderStatsKind
source§fn clone(&self) -> SenderStatsKind
fn clone(&self) -> SenderStatsKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SenderStatsKind
impl Debug for SenderStatsKind
source§impl<'de> Deserialize<'de> for SenderStatsKind
impl<'de> Deserialize<'de> for SenderStatsKind
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 SenderStatsKind
impl Hash for SenderStatsKind
source§impl PartialEq<SenderStatsKind> for SenderStatsKind
impl PartialEq<SenderStatsKind> for SenderStatsKind
source§fn eq(&self, other: &SenderStatsKind) -> bool
fn eq(&self, other: &SenderStatsKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SenderStatsKind
impl Serialize for SenderStatsKind
impl Eq for SenderStatsKind
impl StructuralEq for SenderStatsKind
impl StructuralPartialEq for SenderStatsKind
Auto Trait Implementations§
impl RefUnwindSafe for SenderStatsKind
impl Send for SenderStatsKind
impl Sync for SenderStatsKind
impl Unpin for SenderStatsKind
impl UnwindSafe for SenderStatsKind
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