Struct pendulum::HashedWheel [] [src]

pub struct HashedWheel<T> { /* fields omitted */ }

HashedWheel representing a timer that stores timeouts for type T.

Trait Implementations

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

[src]

Performs the conversion.

impl<T> Pendulum<T> for HashedWheel<T>
[src]

[src]

Insert a timeout with the given duration and the given item into the Pendulum.

[src]

Removes the timeout corresponding with the given Token, if one exists.

[src]

Retrieve the next expired timeout from the Pendulum. Read more

[src]

Tick the Pendulum once.

[src]

Configured tick duration for this Pendulum.

[src]

Configured max timeout capacity for this Pendulum.

[src]

Configured maximum timeout for this Pendulum.