[][src]Trait ratelimit_meter::algorithms::NonConformanceExt

pub trait NonConformanceExt<P: Absolute>: NonConformance<P> {
    fn wait_time(&self) -> Duration { ... }
}

Provided methods

fn wait_time(&self) -> Duration

Returns the minimum amount of time (down to 0) that needs to pass from the current instant for the Decider to consider a cell conforming again.

Loading content...

Implementors

impl<P: Absolute, T> NonConformanceExt<P> for T where
    T: NonConformance<P>, 
[src]

Loading content...