Skip to main content

SessionMetricsSnapshot

Struct SessionMetricsSnapshot 

Source
pub struct SessionMetricsSnapshot {
Show 29 fields pub ingress_datagrams: u64, pub ingress_frames: u64, pub duplicate_reliable_drops: u64, pub ordered_stale_drops: u64, pub ordered_buffer_full_drops: u64, pub sequenced_stale_drops: u64, pub sequenced_missing_index_drops: u64, pub reliable_sent_datagrams: u64, pub resent_datagrams: u64, pub ack_out_datagrams: u64, pub nack_out_datagrams: u64, pub acked_datagrams: u64, pub nacked_datagrams: u64, pub split_ttl_drops: u64, pub pending_outgoing_frames: usize, pub pending_outgoing_bytes: usize, pub outgoing_queue_drops: u64, pub outgoing_queue_defers: u64, pub outgoing_queue_disconnects: u64, pub backpressure_delays: u64, pub backpressure_drops: u64, pub backpressure_disconnects: u64, pub srtt_ms: f64, pub rttvar_ms: f64, pub resend_rto_ms: f64, pub congestion_window_packets: f64, pub resend_ratio: f64, pub pacing_budget_bytes: f64, pub pacing_rate_bytes_per_sec: f64,
}

Fields§

§ingress_datagrams: u64§ingress_frames: u64§duplicate_reliable_drops: u64§ordered_stale_drops: u64§ordered_buffer_full_drops: u64§sequenced_stale_drops: u64§sequenced_missing_index_drops: u64§reliable_sent_datagrams: u64§resent_datagrams: u64§ack_out_datagrams: u64§nack_out_datagrams: u64§acked_datagrams: u64§nacked_datagrams: u64§split_ttl_drops: u64§pending_outgoing_frames: usize§pending_outgoing_bytes: usize§outgoing_queue_drops: u64§outgoing_queue_defers: u64§outgoing_queue_disconnects: u64§backpressure_delays: u64§backpressure_drops: u64§backpressure_disconnects: u64§srtt_ms: f64§rttvar_ms: f64§resend_rto_ms: f64§congestion_window_packets: f64§resend_ratio: f64§pacing_budget_bytes: f64§pacing_rate_bytes_per_sec: f64

Trait Implementations§

Source§

impl Clone for SessionMetricsSnapshot

Source§

fn clone(&self) -> SessionMetricsSnapshot

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SessionMetricsSnapshot

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SessionMetricsSnapshot

Source§

fn default() -> SessionMetricsSnapshot

Returns the “default value” for a type. Read more
Source§

impl Copy for SessionMetricsSnapshot

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more