Home
last modified time | relevance | path

Searched defs:WrappedSemPermit (Results 1 – 1 of 1) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
Ddispatcher.rs213 pub(crate) fn occupy_sem(&mut self, sem: WrappedSemPermit) { in occupy_sem()
278 pub(crate) async fn acquire(&self) -> WrappedSemPermit { in acquire()
302 pub(crate) struct WrappedSemPermit { struct
304 pub(crate) sem: Arc<Semaphore>,
307 pub(crate) permit: SemaphorePermit,
311 impl Drop for WrappedSemPermit { implementation