Struct queuecheck::Latency[][src]

pub struct Latency {
    pub produce: Data,
    pub consume: Data,
}

A measurement of the latency of a queue.

Fields

The enqueue operation latencies in nanoseconds.

The dequeue operation latencies in nanoseconds.

Methods

impl Latency
[src]

Constructs a new Latency.

Prints a latency report to the console for the percentiles with the supplied ranks.

Trait Implementations

impl Clone for Latency
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Latency
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Latency

impl Sync for Latency