[−][src]Struct ratelimit_meter::algorithms::gcra::State
The GCRA's state about a single rate limiting history.
Trait Implementations
impl<P: Reference> RateLimitState<GCRA<P>, P> for State<P>
[src]
fn last_touched(&self, params: &GCRA<P>) -> Option<P>
[src]
impl<P: Clone + Reference> Clone for State<P>
[src]
impl<P: Reference> Default for State<P>
[src]
impl<P: Eq + Reference> Eq for State<P>
[src]
impl<P: PartialEq + Reference> PartialEq<State<P>> for State<P>
[src]
impl<P: Debug + Reference> Debug for State<P>
[src]
impl<P: Reference> ShallowCopy for State<P>
[src]
unsafe fn shallow_copy(&mut self) -> Self
[src]
Auto Trait Implementations
impl<P> Send for State<P>
impl<P> Sync for State<P>
impl<P> Unpin for State<P>
impl<P> !RefUnwindSafe for State<P>
impl<P> !UnwindSafe for State<P>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Wfn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut W
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,