Enum fastly::erl::CounterDuration
source · #[repr(u32)]pub enum CounterDuration {
TenSec = 10,
TwentySecs = 20,
ThirtySecs = 30,
FortySecs = 40,
FiftySecs = 50,
SixtySecs = 60,
}
Expand description
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§
impl Freeze for CounterDuration
impl RefUnwindSafe for CounterDuration
impl Send for CounterDuration
impl Sync for CounterDuration
impl Unpin for CounterDuration
impl UnwindSafe for CounterDuration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more