Struct PerformanceStatistics
pub struct PerformanceStatistics {
pub messages_processed: AtomicU64,
pub average_latency_ns: AtomicU64,
pub peak_latency_ns: AtomicU64,
pub throughput_mps: AtomicU64,
}Expand description
Performance monitoring statistics
Fields§
§messages_processed: AtomicU64Total number of messages processed
average_latency_ns: AtomicU64Average processing latency in nanoseconds
peak_latency_ns: AtomicU64Peak processing latency in nanoseconds
throughput_mps: AtomicU64Throughput in messages per second
Trait Implementations§
§impl Debug for PerformanceStatistics
impl Debug for PerformanceStatistics
§impl Default for PerformanceStatistics
impl Default for PerformanceStatistics
§fn default() -> PerformanceStatistics
fn default() -> PerformanceStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for PerformanceStatistics
impl RefUnwindSafe for PerformanceStatistics
impl Send for PerformanceStatistics
impl Sync for PerformanceStatistics
impl Unpin for PerformanceStatistics
impl UnwindSafe for PerformanceStatistics
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