Struct webrtc::stats::DataChannelStats
source · pub struct DataChannelStats {
pub timestamp: Instant,
pub stats_type: RTCStatsType,
pub id: String,
pub bytes_received: usize,
pub bytes_sent: usize,
pub data_channel_identifier: u16,
pub label: String,
pub messages_received: usize,
pub messages_sent: usize,
pub protocol: String,
pub state: RTCDataChannelState,
}
Fields§
§timestamp: Instant
§stats_type: RTCStatsType
§id: String
§bytes_received: usize
§bytes_sent: usize
§data_channel_identifier: u16
§label: String
§messages_received: usize
§messages_sent: usize
§protocol: String
§state: RTCDataChannelState
Trait Implementations§
source§impl Debug for DataChannelStats
impl Debug for DataChannelStats
source§impl<'de> Deserialize<'de> for DataChannelStats
impl<'de> Deserialize<'de> for DataChannelStats
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
Auto Trait Implementations§
impl Freeze for DataChannelStats
impl RefUnwindSafe for DataChannelStats
impl Send for DataChannelStats
impl Sync for DataChannelStats
impl Unpin for DataChannelStats
impl UnwindSafe for DataChannelStats
Blanket Implementations§
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
Mutably borrows from an owned value. Read more