[][src]Trait metrics::IntoU64

pub trait IntoU64 {
    fn into_u64(self) -> u64;
}

An object which can be converted into a u64 representation.

This trait provides a mechanism for existing types, which have a natural representation as an unsigned 64-bit integer, to be transparently passed in when recording a histogram.

Required methods

fn into_u64(self) -> u64

Converts this object to its u64 representation.

Loading content...

Implementations on Foreign Types

impl IntoU64 for u64[src]

impl IntoU64 for Duration[src]

Loading content...

Implementors

Loading content...