[][src]Struct ratelimit_meter::algorithms::gcra::State

pub struct State<P: Reference>(_);

The GCRA's state about a single rate limiting history.

Trait Implementations

impl<P: Reference> RateLimitState<GCRA<P>, P> for State<P>[src]

impl<P: Eq + Reference> Eq for State<P>[src]

impl<P: Reference> Default for State<P>[src]

impl<P: Clone + Reference> Clone 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]

Auto Trait Implementations

impl<P> Send for State<P>

impl<P> Unpin for State<P>

impl<P> Sync for State<P>

impl<P> !UnwindSafe for State<P>

impl<P> !RefUnwindSafe for State<P>

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]