Struct RoutingStatisticsSnapshot
pub struct RoutingStatisticsSnapshot {
pub active_routes: usize,
pub messages_routed: u64,
pub routing_errors: u64,
pub cache_hits: u64,
pub cache_misses: u64,
pub cache_hit_rate: f64,
pub last_update: u64,
}Expand description
Snapshot of routing statistics
Fields§
§active_routes: usizeNumber of active routes
messages_routed: u64Total messages routed
routing_errors: u64Routing errors encountered
cache_hits: u64Cache hits
cache_misses: u64Cache misses
cache_hit_rate: f64Cache hit rate percentage
last_update: u64Last update timestamp (milliseconds since UNIX epoch)
Trait Implementations§
§impl Clone for RoutingStatisticsSnapshot
impl Clone for RoutingStatisticsSnapshot
§fn clone(&self) -> RoutingStatisticsSnapshot
fn clone(&self) -> RoutingStatisticsSnapshot
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 moreAuto Trait Implementations§
impl Freeze for RoutingStatisticsSnapshot
impl RefUnwindSafe for RoutingStatisticsSnapshot
impl Send for RoutingStatisticsSnapshot
impl Sync for RoutingStatisticsSnapshot
impl Unpin for RoutingStatisticsSnapshot
impl UnwindSafe for RoutingStatisticsSnapshot
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