pub struct DebugStatsSnapshot {
pub peers: usize,
pub routes: usize,
pub packets_forwarded: u64,
pub bytes_forwarded: u64,
pub packets_dropped: u64,
pub congestion_drops: u64,
pub conntrack_size: usize,
pub uptime_secs: u64,
}Expand description
Common stats for operator-facing debug commands.
Fields§
§peers: usize§routes: usize§packets_forwarded: u64§bytes_forwarded: u64§packets_dropped: u64§congestion_drops: u64§conntrack_size: usize§uptime_secs: u64Trait Implementations§
Source§impl Clone for DebugStatsSnapshot
impl Clone for DebugStatsSnapshot
Source§fn clone(&self) -> DebugStatsSnapshot
fn clone(&self) -> DebugStatsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DebugStatsSnapshot
impl Debug for DebugStatsSnapshot
Source§impl<'de> Deserialize<'de> for DebugStatsSnapshot
impl<'de> Deserialize<'de> for DebugStatsSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DebugStatsSnapshot
impl RefUnwindSafe for DebugStatsSnapshot
impl Send for DebugStatsSnapshot
impl Sync for DebugStatsSnapshot
impl Unpin for DebugStatsSnapshot
impl UnsafeUnpin for DebugStatsSnapshot
impl UnwindSafe for DebugStatsSnapshot
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