pub struct Stats {}Expand description
Counts for one connection.
Fields§
§received: u64Data packets received, every copy.
received_bytes: u64Payload bytes in those packets.
retransmitted: u64Of those, retransmissions.
duplicates: u64Copies of packets already held.
belated: u64Copies of packets already delivered or given up on.
lost: u64Packets found missing (each counted once).
dropped: u64Missing packets skipped at their delivery time.
delivered: u64Packets handed over in order for delivery.
encrypted: u64Data packets refused for a plaintext/key mismatch or expired key.
decrypted: u64Data packets decrypted.
km_rejected: u64Key material refresh messages refused: encryption is not in use on the connection, or the message failed to unwrap or validate.
naks_sent: u64NAK packets sent.
acks_sent: u64ACK packets sent, light and full.
Trait Implementations§
impl Copy for Stats
impl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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