pub struct ServerStats {
pub ntp_hits: u32,
pub nke_hits: u32,
pub cmd_hits: u32,
pub ntp_drops: u32,
pub nke_drops: u32,
pub cmd_drops: u32,
pub log_drops: u32,
pub ntp_auth_hits: u32,
}Fields§
§ntp_hits: u32§nke_hits: u32§cmd_hits: u32§ntp_drops: u32§nke_drops: u32§cmd_drops: u32§log_drops: u32§ntp_auth_hits: u32Trait Implementations§
Source§impl Clone for ServerStats
impl Clone for ServerStats
Source§fn clone(&self) -> ServerStats
fn clone(&self) -> ServerStats
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 ServerStats
impl Debug for ServerStats
Source§impl Hash for ServerStats
impl Hash for ServerStats
Source§impl Ord for ServerStats
impl Ord for ServerStats
Source§fn cmp(&self, other: &ServerStats) -> Ordering
fn cmp(&self, other: &ServerStats) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ServerStats
impl PartialEq for ServerStats
Source§impl PartialOrd for ServerStats
impl PartialOrd for ServerStats
impl Copy for ServerStats
impl Eq for ServerStats
impl StructuralPartialEq for ServerStats
Auto Trait Implementations§
impl Freeze for ServerStats
impl RefUnwindSafe for ServerStats
impl Send for ServerStats
impl Sync for ServerStats
impl Unpin for ServerStats
impl UnwindSafe for ServerStats
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