pub struct RtcIceServerStats {
pub url: String,
pub port: u16,
pub protocol: Protocol,
pub total_requests_sent: Option<u64>,
pub total_responses_received: Option<u64>,
pub total_round_trip_time: Option<HighResTimeStamp>,
}Expand description
Information about the connection to an ICE server (e.g. STUN or TURN).
RtcStatsType::IceServer variant.
Fields§
§url: StringURL of the ICE server (e.g. TURN or STUN server).
port: u16Port number used by the client.
protocol: ProtocolProtocol used by the client to connect to ICE server.
total_requests_sent: Option<u64>Total amount of requests that have been sent to this server.
total_responses_received: Option<u64>Total amount of responses received from this server.
total_round_trip_time: Option<HighResTimeStamp>Sum of RTTs for all requests that have been sent where a response has been received.
Trait Implementations§
Source§impl Clone for RtcIceServerStats
impl Clone for RtcIceServerStats
Source§fn clone(&self) -> RtcIceServerStats
fn clone(&self) -> RtcIceServerStats
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 RtcIceServerStats
impl Debug for RtcIceServerStats
Source§impl<'de> Deserialize<'de> for RtcIceServerStats
impl<'de> Deserialize<'de> for RtcIceServerStats
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 RtcIceServerStats
impl Hash for RtcIceServerStats
Source§impl PartialEq for RtcIceServerStats
impl PartialEq for RtcIceServerStats
Source§impl Serialize for RtcIceServerStats
impl Serialize for RtcIceServerStats
impl StructuralPartialEq for RtcIceServerStats
Auto Trait Implementations§
impl Freeze for RtcIceServerStats
impl RefUnwindSafe for RtcIceServerStats
impl Send for RtcIceServerStats
impl Sync for RtcIceServerStats
impl Unpin for RtcIceServerStats
impl UnwindSafe for RtcIceServerStats
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