Enum tusk_data::metrics::types::MetricTypes [−][src]
Variants
Gauge(Gauge)
Summary(Summary)
Error(Errors)
Methods
impl MetricTypes
[src]
impl MetricTypes
pub fn sqrt(&self) -> Self
[src]
pub fn sqrt(&self) -> Self
Returns the square root of the Data. Counters are converted to Numbers when they are square rooted.
Trait Implementations
impl Clone for MetricTypes
[src]
impl Clone for MetricTypes
fn clone(&self) -> MetricTypes
[src]
fn clone(&self) -> MetricTypes
Returns 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)
Performs copy-assignment from source
. Read more
impl Debug for MetricTypes
[src]
impl Debug for MetricTypes
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Add for MetricTypes
[src]
impl Add for MetricTypes
type Output = MetricTypes
The resulting type after applying the +
operator.
fn add(self, rhs: MetricTypes) -> Self
[src]
fn add(self, rhs: MetricTypes) -> Self
Performs the +
operation.
impl Sub for MetricTypes
[src]
impl Sub for MetricTypes
type Output = MetricTypes
The resulting type after applying the -
operator.
fn sub(self, rhs: MetricTypes) -> Self
[src]
fn sub(self, rhs: MetricTypes) -> Self
Performs the -
operation.
impl Mul for MetricTypes
[src]
impl Mul for MetricTypes
type Output = MetricTypes
The resulting type after applying the *
operator.
fn mul(self, rhs: MetricTypes) -> Self
[src]
fn mul(self, rhs: MetricTypes) -> Self
Performs the *
operation.
impl Div for MetricTypes
[src]
impl Div for MetricTypes
type Output = MetricTypes
The resulting type after applying the /
operator.
fn div(self, rhs: MetricTypes) -> Self
[src]
fn div(self, rhs: MetricTypes) -> Self
Performs the /
operation.
impl PartialOrd for MetricTypes
[src]
impl PartialOrd for MetricTypes
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
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]
impl PartialEq for MetricTypes
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for MetricTypes
[src]
impl Eq for MetricTypes
Auto Trait Implementations
impl Send for MetricTypes
impl Send for MetricTypes
impl Sync for MetricTypes
impl Sync for MetricTypes