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

Method ops

rate_limiter/src/lib.rs:564–567  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

562 }
563
564 fn ops(&self) -> Option<TokenBucket> {
565 let guard = self.inner.lock().unwrap();
566 guard.ops.clone()
567 }
568 }
569
570 impl PartialEq for RateLimiter {

Callers 3

test_rate_limiter_newFunction · 0.45
test_update_bucketsFunction · 0.45

Calls 1

cloneMethod · 0.45

Tested by 3

test_rate_limiter_newFunction · 0.36
test_update_bucketsFunction · 0.36