pub struct ExchangeManagerStats {
pub total_exchanges: usize,
pub total_active_tasks: usize,
pub total_messages_received: u64,
pub total_bytes_received: u64,
pub total_errors: u64,
pub messages_per_second: f64,
pub bytes_per_second: f64,
pub uptime_seconds: f64,
pub exchange_stats: FxHashMap<String, ExchangeStats>,
}Expand description
Statistics for the exchange manager
Provides comprehensive performance metrics and operational statistics for the lock-free exchange manager, including global counters and per-exchange breakdown.
Fields§
§total_exchanges: usizeTotal number of exchanges currently registered
total_active_tasks: usizeTotal number of active collection tasks across all exchanges
total_messages_received: u64Total messages received from all exchanges
total_bytes_received: u64Total bytes received from all exchanges
total_errors: u64Total errors encountered across all exchanges
messages_per_second: f64Average messages per second across all exchanges
bytes_per_second: f64Average bytes per second across all exchanges
uptime_seconds: f64Manager uptime in seconds since initialization
exchange_stats: FxHashMap<String, ExchangeStats>Per-exchange statistics breakdown
Trait Implementations§
Source§impl Clone for ExchangeManagerStats
impl Clone for ExchangeManagerStats
Source§fn clone(&self) -> ExchangeManagerStats
fn clone(&self) -> ExchangeManagerStats
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExchangeManagerStats
impl RefUnwindSafe for ExchangeManagerStats
impl Send for ExchangeManagerStats
impl Sync for ExchangeManagerStats
impl Unpin for ExchangeManagerStats
impl UnwindSafe for ExchangeManagerStats
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