pub struct HostMetrics {
pub connect_events: u32,
pub disconnect_events: u32,
pub rx_errors: u32,
}
Expand description
Host metrics
Fields§
§connect_events: u32
How many connect events have been received.
disconnect_events: u32
How many disconnect events have been received.
rx_errors: u32
How many errors processing received data.
Trait Implementations§
Source§impl Clone for HostMetrics
impl Clone for HostMetrics
Source§fn clone(&self) -> HostMetrics
fn clone(&self) -> HostMetrics
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 Default for HostMetrics
impl Default for HostMetrics
Source§fn default() -> HostMetrics
fn default() -> HostMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HostMetrics
impl RefUnwindSafe for HostMetrics
impl Send for HostMetrics
impl Sync for HostMetrics
impl Unpin for HostMetrics
impl UnwindSafe for HostMetrics
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