MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / refill_time_ms

Method refill_time_ms

rate_limiter/src/lib.rs:237–239  ·  view source on GitHub ↗

Returns the time in milliseconds required to to completely fill the bucket.

(&self)

Source from the content-addressed store, hash-verified

235
236 /// Returns the time in milliseconds required to to completely fill the bucket.
237 pub fn refill_time_ms(&self) -> u64 {
238 self.refill_time
239 }
240
241 /// Returns the current budget (one time burst allowance notwithstanding).
242 pub fn budget(&self) -> u64 {

Callers 2

consumeMethod · 0.80
partial_eqMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected