#[non_exhaustive]pub struct EndpointStats {
pub accepted_handshakes: u64,
pub outgoing_handshakes: u64,
pub refused_handshakes: u64,
pub ignored_handshakes: u64,
}
Expand description
Statistics on Endpoint activity
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.accepted_handshakes: u64
Cummulative number of Quic handshakes accepted by this Endpoint
outgoing_handshakes: u64
Cummulative number of Quic handshakees sent from this Endpoint
refused_handshakes: u64
Cummulative number of Quic handshakes refused on this Endpoint
ignored_handshakes: u64
Cummulative number of Quic handshakes ignored on this Endpoint
Trait Implementations§
Source§impl Clone for EndpointStats
impl Clone for EndpointStats
Source§fn clone(&self) -> EndpointStats
fn clone(&self) -> EndpointStats
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 EndpointStats
impl Debug for EndpointStats
Source§impl Default for EndpointStats
impl Default for EndpointStats
Source§fn default() -> EndpointStats
fn default() -> EndpointStats
Returns the “default value” for a type. Read more
impl Copy for EndpointStats
Auto Trait Implementations§
impl Freeze for EndpointStats
impl RefUnwindSafe for EndpointStats
impl Send for EndpointStats
impl Sync for EndpointStats
impl Unpin for EndpointStats
impl UnwindSafe for EndpointStats
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