Enum glean::HistogramType [−][src]
pub enum HistogramType { Linear, Exponential, }
Expand description
Different kinds of histograms.
Variants
A histogram with linear distributed buckets.
A histogram with exponential distributed buckets.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<HistogramType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<HistogramType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for HistogramType
impl Send for HistogramType
impl Sync for HistogramType
impl Unpin for HistogramType
impl UnwindSafe for HistogramType
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> EncodableKey for T where
T: Serialize,
impl<T> EncodableKey for T where
T: Serialize,