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

Method one_time_burst

rate_limiter/src/lib.rs:232–234  ·  view source on GitHub ↗

Returns the remaining one time burst budget.

(&self)

Source from the content-addressed store, hash-verified

230
231 /// Returns the remaining one time burst budget.
232 pub fn one_time_burst(&self) -> u64 {
233 self.one_time_burst
234 }
235
236 /// Returns the time in milliseconds required to to completely fill the bucket.
237 pub fn refill_time_ms(&self) -> u64 {

Callers 1

partial_eqMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected