CounterDuration

Enumin erlfastly 0.13.1View source
1
2
3
4
5
6
7
8
9
#[repr(u32)]
pub enum CounterDuration {
TenSec = 10,
TwentySecs = 20,
ThirtySecs = 30,
FortySecs = 40,
FiftySecs = 50,
SixtySecs = 60,
}

To be used for picking the duration in a rate counter lookup_count call

Variants

TenSec

= 10

A one second counter window

TwentySecs

= 20

A twenty second counter window

ThirtySecs

= 30

A thirty second counter window

FortySecs

= 40

A forty second counter window

FiftySecs

= 50

A fifty second counter window

SixtySecs

= 60

A sixty second counter window

Auto trait implementations

Blanket implementations