pub struct TelemetryReport {
pub id: [u8; 16],
pub at: u64,
pub kind: TelemetryKind,
pub mode: TelemetryMode,
pub requested: u32,
pub hits: u32,
pub misses: u32,
pub failed: u32,
pub bytes: u64,
pub duration_ms: u32,
pub rtt_ms: u32,
}Expand description
One fetch or store as its client measured it. Holds no identity, key or path.
Fields§
§id: [u8; 16]Random; lets a reader drop a report sent twice.
at: u64Unix seconds on the client’s clock when the operation ended.
kind: TelemetryKind§mode: TelemetryMode§requested: u32Keys asked for, or sets put.
hits: u32Entries installed, or sets committed or already present.
misses: u32Keys not in the cache, or sets the cache refused for quota.
failed: u32Everything else that did not succeed.
bytes: u64Bytes received, or bytes uploaded.
duration_ms: u32Wall time of the whole operation.
rtt_ms: u32Round trip of one small call to the server, measured by the same handle.
Implementations§
Trait Implementations§
Source§impl Clone for TelemetryReport
impl Clone for TelemetryReport
impl Copy for TelemetryReport
Source§impl Debug for TelemetryReport
impl Debug for TelemetryReport
impl Eq for TelemetryReport
Source§impl PartialEq for TelemetryReport
impl PartialEq for TelemetryReport
impl StructuralPartialEq for TelemetryReport
Auto Trait Implementations§
impl Forget for TelemetryReport
impl Freeze for TelemetryReport
impl Move for TelemetryReport
impl RefUnwindSafe for TelemetryReport
impl Send for TelemetryReport
impl Sync for TelemetryReport
impl Unpin for TelemetryReport
impl UnsafeUnpin for TelemetryReport
impl UnwindSafe for TelemetryReport
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