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

Method new_handle

rate_limiter/src/group.rs:213–215  ·  view source on GitHub ↗

Create a new RateLimiterGroupHandle.

(&self)

Source from the content-addressed store, hash-verified

211
212 /// Create a new RateLimiterGroupHandle.
213 pub fn new_handle(&self) -> result::Result<RateLimiterGroupHandle, Error> {
214 RateLimiterGroupHandle::new(self.inner.clone())
215 }
216
217 /// Start a worker thread to broadcast an event to each RateLimiterGroupHandle
218 /// when the RateLimiter becomes unblocked.

Calls 2

newFunction · 0.85
cloneMethod · 0.45