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

Method budget

rate_limiter/src/lib.rs:242–244  ·  view source on GitHub ↗

Returns the current budget (one time burst allowance notwithstanding).

(&self)

Source from the content-addressed store, hash-verified

240
241 /// Returns the current budget (one time burst allowance notwithstanding).
242 pub fn budget(&self) -> u64 {
243 self.budget
244 }
245}
246
247/// Enum that describes the type of token used.

Callers 1

partial_eqMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected