Enum slog_extlog::stats::BucketMethod [−][src]
pub enum BucketMethod {
Freq,
CumulFreq,
}Used to determine which buckets to update when a BucketCounter stat is updated
Variants
FreqWhen a value is recorded, only update the bucket it lands in
CumulFreqWhen a value us recorded, update its bucket and every higher bucket
Trait Implementations
impl Debug for BucketMethod[src]
impl Debug for BucketMethodfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for BucketMethod[src]
impl Clone for BucketMethodfn clone(&self) -> BucketMethod[src]
fn clone(&self) -> BucketMethodReturns 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)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for BucketMethod[src]
impl Copy for BucketMethodimpl PartialEq for BucketMethod[src]
impl PartialEq for BucketMethodAuto Trait Implementations
impl Send for BucketMethod
impl Send for BucketMethodimpl Sync for BucketMethod
impl Sync for BucketMethod