Searched defs:WrappedSemPermit (Results 1 – 1 of 1) sorted by relevance
213 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 { struct304 pub(crate) sem: Arc<Semaphore>,307 pub(crate) permit: SemaphorePermit,311 impl Drop for WrappedSemPermit { implementation