pub struct LatencyStats {
pub count: u64,
pub avg_us: u64,
pub p50_us: u64,
pub p95_us: u64,
pub p99_us: u64,
pub max_us: u64,
}Expand description
延迟统计摘要 (微秒)
Fields§
§count: u64总采样数
avg_us: u64平均延迟 (微秒)
p50_us: u64P50 延迟
p95_us: u64P95 延迟
p99_us: u64P99 延迟
max_us: u64最大延迟
Trait Implementations§
Source§impl Default for LatencyStats
impl Default for LatencyStats
Source§fn default() -> LatencyStats
fn default() -> LatencyStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LatencyStats
impl RefUnwindSafe for LatencyStats
impl Send for LatencyStats
impl Sync for LatencyStats
impl Unpin for LatencyStats
impl UnwindSafe for LatencyStats
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