Struct cadence::Histogram [−][src]
pub struct Histogram { /* fields omitted */ }Histograms are values whose distribution is calculated by the server.
The distribution calculated for histograms is often similar to that of timers. Histograms can be thought of as a more general (not limited to timing things) form of timers.
See the Histogrammed trait for more information.
Methods
impl Histogram[src]
impl HistogramTrait Implementations
impl PartialEq for Histogram[src]
impl PartialEq for Histogramfn eq(&self, other: &Histogram) -> bool[src]
fn eq(&self, other: &Histogram) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Histogram) -> bool[src]
fn ne(&self, other: &Histogram) -> boolThis method tests for !=.
impl Eq for Histogram[src]
impl Eq for Histogramimpl Debug for Histogram[src]
impl Debug for Histogramfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for Histogram[src]
impl Hash for Histogramfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for Histogram[src]
impl Clone for Histogramfn clone(&self) -> Histogram[src]
fn clone(&self) -> HistogramReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl From<String> for Histogram[src]
impl From<String> for Histogramimpl Metric for Histogram[src]
impl Metric for Histogramfn as_metric_str(&self) -> &str[src]
fn as_metric_str(&self) -> &str