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
Auto Trait Implementations§
impl RefUnwindSafe for DataChannelStats
impl Send for DataChannelStats
impl Sync for DataChannelStats
impl Unpin for DataChannelStats
impl UnwindSafe for DataChannelStats
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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