Struct QuicPerformanceCounters

Source
pub struct QuicPerformanceCounters {
Show 32 fields pub conn_created: i64, pub conn_handshake_fail: i64, pub conn_app_reject: i64, pub conn_resumed: i64, pub conn_active: i64, pub conn_connected: i64, pub conn_protocol_errors: i64, pub conn_no_alpn: i64, pub strm_active: i64, pub pkts_suspected_lost: i64, pub pkts_dropped: i64, pub pkts_decryption_fail: i64, pub udp_recv: i64, pub udp_send: i64, pub udp_recv_bytes: i64, pub udp_send_bytes: i64, pub udp_recv_events: i64, pub udp_send_calls: i64, pub app_send_bytes: i64, pub app_recv_bytes: i64, pub conn_queue_depth: i64, pub conn_oper_queue_depth: i64, pub conn_oper_queued: i64, pub conn_oper_completed: i64, pub work_oper_queue_depth: i64, pub work_oper_queued: i64, pub work_oper_completed: i64, pub path_validated: i64, pub path_failure: i64, pub send_stateless_reset: i64, pub send_stateless_retry: i64, pub conn_load_reject: i64,
}
Expand description

A helper struct for accessing performance counters.

Fields§

§conn_created: i64§conn_handshake_fail: i64§conn_app_reject: i64§conn_resumed: i64§conn_active: i64§conn_connected: i64§conn_protocol_errors: i64§conn_no_alpn: i64§strm_active: i64§pkts_suspected_lost: i64§pkts_dropped: i64§pkts_decryption_fail: i64§udp_recv: i64§udp_send: i64§udp_recv_bytes: i64§udp_send_bytes: i64§udp_recv_events: i64§udp_send_calls: i64§app_send_bytes: i64§app_recv_bytes: i64§conn_queue_depth: i64§conn_oper_queue_depth: i64§conn_oper_queued: i64§conn_oper_completed: i64§work_oper_queue_depth: i64§work_oper_queued: i64§work_oper_completed: i64§path_validated: i64§path_failure: i64§send_stateless_reset: i64§send_stateless_retry: i64§conn_load_reject: i64

Trait Implementations§

Source§

impl Debug for QuicPerformanceCounters

Source§

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

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

impl From<[i64; 32]> for QuicPerformanceCounters

Source§

fn from(value: [i64; 32]) -> Self

Converts to this type from the input type.

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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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, 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.