pub struct ProxyStats {
pub packets_received: u64,
pub packets_forwarded: u64,
pub packets_dropped: u64,
pub bytes_forwarded: u64,
pub avg_latency_ns: u64,
pub routes: usize,
}Expand description
Proxy statistics
Fields§
§packets_received: u64Total packets received
packets_forwarded: u64Total packets forwarded
packets_dropped: u64Total packets dropped
bytes_forwarded: u64Total bytes forwarded
avg_latency_ns: u64Average forwarding latency (nanoseconds)
routes: usizeActive routes
Trait Implementations§
Source§impl Clone for ProxyStats
impl Clone for ProxyStats
Source§fn clone(&self) -> ProxyStats
fn clone(&self) -> ProxyStats
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 ProxyStats
impl Debug for ProxyStats
Source§impl Default for ProxyStats
impl Default for ProxyStats
Source§fn default() -> ProxyStats
fn default() -> ProxyStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProxyStats
impl RefUnwindSafe for ProxyStats
impl Send for ProxyStats
impl Sync for ProxyStats
impl Unpin for ProxyStats
impl UnsafeUnpin for ProxyStats
impl UnwindSafe for ProxyStats
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