pub struct AuthenticationStatistics {
pub total_auth_attempts: u64,
pub successful_auths: u64,
pub failed_auths: u64,
pub auth_rate: f64,
pub replay_attacks_blocked: u64,
pub invalid_signatures: u64,
pub unknown_peer_keys: u64,
}
Expand description
Authentication and security statistics
Fields§
§total_auth_attempts: u64
Total authentication attempts
successful_auths: u64
Successful authentications
failed_auths: u64
Failed authentications
auth_rate: f64
Authentication rate (auths per second)
replay_attacks_blocked: u64
Replay attacks detected and blocked
invalid_signatures: u64
Invalid signatures detected
unknown_peer_keys: u64
Unknown peer keys encountered
Trait Implementations§
Source§impl Clone for AuthenticationStatistics
impl Clone for AuthenticationStatistics
Source§fn clone(&self) -> AuthenticationStatistics
fn clone(&self) -> AuthenticationStatistics
Returns a duplicate 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 AuthenticationStatistics
impl Debug for AuthenticationStatistics
Source§impl Default for AuthenticationStatistics
impl Default for AuthenticationStatistics
Source§fn default() -> AuthenticationStatistics
fn default() -> AuthenticationStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthenticationStatistics
impl RefUnwindSafe for AuthenticationStatistics
impl Send for AuthenticationStatistics
impl Sync for AuthenticationStatistics
impl Unpin for AuthenticationStatistics
impl UnwindSafe for AuthenticationStatistics
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