Enum tusk_data::metrics::types::MetricTypes[][src]

pub enum MetricTypes {
    Gauge(Gauge),
    Summary(Summary),
    Error(Errors),
}

Variants

Methods

impl MetricTypes
[src]

Returns the square root of the Data. Counters are converted to Numbers when they are square rooted.

Trait Implementations

impl Clone for MetricTypes
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MetricTypes
[src]

Formats the value using the given formatter. Read more

impl Add for MetricTypes
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub for MetricTypes
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Mul for MetricTypes
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Div for MetricTypes
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl PartialOrd for MetricTypes
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq for MetricTypes
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for MetricTypes
[src]

Auto Trait Implementations

impl Send for MetricTypes

impl Sync for MetricTypes