[][src]Struct cadence::Gauge

pub struct Gauge { /* fields omitted */ }

Gauges are an instantaneous value determined by the client.

See the Gauged trait for more information.

Methods

impl Gauge[src]

pub fn new(prefix: &str, key: &str, value: u64) -> Gauge[src]

Trait Implementations

impl Metric for Gauge[src]

impl From<String> for Gauge[src]

impl Clone for Gauge[src]

impl Eq for Gauge[src]

impl PartialEq<Gauge> for Gauge[src]

impl Debug for Gauge[src]

impl Hash for Gauge[src]

Auto Trait Implementations

impl Send for Gauge

impl Sync for Gauge

impl Unpin for Gauge

impl UnwindSafe for Gauge

impl RefUnwindSafe for Gauge

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]