Struct Histogram Boundaries

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct HistogramBoundaries(/* private fields */);

Explicit histogram bucket boundaries that are finite and strictly increasing.

Implementations

impl HistogramBoundaries

impl HistogramBoundaries

values

pub fn values(&self) -> Vec<f64>

Return the validated boundaries as floating-point values.

Trait Implementations

impl Clone for HistogramBoundaries

impl Clone for HistogramBoundaries

clone

fn clone(&self) -> HistogramBoundaries

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for HistogramBoundaries

impl Debug for HistogramBoundaries

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl PartialEq for HistogramBoundaries

impl PartialEq for HistogramBoundaries

eq

fn eq(&self, other: &HistogramBoundaries) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl TryFrom<Vec<f64>> for HistogramBoundaries

impl TryFrom<Vec<f64>> for HistogramBoundaries

Error

type Error = MetricValidationError

try_from

fn try_from(boundaries: Vec<f64>) -> Result<Self, Self::Error>

impl StructuralPartialEq for HistogramBoundaries

impl StructuralPartialEq for HistogramBoundaries