pub struct RelayStats {
pub requests_received: u64,
pub requests_relayed: u64,
pub requests_failed: u64,
pub requests_dropped: u64,
pub requests_timed_out: u64,
pub requests_rate_limited: u64,
pub current_queue_size: usize,
}
Expand description
Relay statistics for monitoring and debugging
Fields§
§requests_received: u64
Total relay requests received
requests_relayed: u64
Successfully relayed requests
requests_failed: u64
Failed relay requests (peer not found)
requests_dropped: u64
Requests dropped due to queue full
requests_timed_out: u64
Requests timed out
requests_rate_limited: u64
Requests dropped due to rate limiting
current_queue_size: usize
Current queue size
Trait Implementations§
Source§impl Clone for RelayStats
impl Clone for RelayStats
Source§fn clone(&self) -> RelayStats
fn clone(&self) -> RelayStats
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 RelayStats
impl Debug for RelayStats
Source§impl Default for RelayStats
impl Default for RelayStats
Source§fn default() -> RelayStats
fn default() -> RelayStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RelayStats
impl RefUnwindSafe for RelayStats
impl Send for RelayStats
impl Sync for RelayStats
impl Unpin for RelayStats
impl UnwindSafe for RelayStats
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