Enum fastly::erl::RateWindow
source · #[repr(u32)]pub enum RateWindow {
OneSec = 1,
TenSecs = 10,
SixtySecs = 60,
}
Expand description
To be used for picking the window in a rate counter lookup_rate or a ERL check_rate
Variants§
OneSec = 1
A one secound rate window
TenSecs = 10
A ten secound rate window
SixtySecs = 60
A sixty secound rate window
Auto Trait Implementations§
impl Freeze for RateWindow
impl RefUnwindSafe for RateWindow
impl Send for RateWindow
impl Sync for RateWindow
impl Unpin for RateWindow
impl UnwindSafe for RateWindow
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