Struct veloren_query_server::ratelimit::IpState
source · pub struct IpState([u16; 4]);
Expand description
Per-IP state, divided into 4 segments of SHIFT_EVERY
each (one minute at
the time of writing).
Tuple Fields§
§0: [u16; 4]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IpState
impl RefUnwindSafe for IpState
impl Send for IpState
impl Sync for IpState
impl Unpin for IpState
impl UnwindSafe for IpState
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