Searched refs:try_lock (Results 1 – 5 of 5) sorted by relevance
72 unsafe fn try_lock(ptr: *mut Self::State) -> Option<Self::GuardState>; in try_lock() method180 pub fn try_lock(&self) -> Option<Guard<'_, T, B>> { in try_lock() method183 unsafe { B::try_lock(self.state.get()).map(|state| Guard::new(self, state)) } in try_lock()
127 unsafe fn try_lock(ptr: *mut Self::State) -> Option<Self::GuardState> { in try_lock() method
126 unsafe fn try_lock(ptr: *mut Self::State) -> Option<Self::GuardState> { in try_lock() method
87 pub fn try_lock(&'static self) -> Option<GlobalGuard<B>> { in try_lock() method89 inner: self.inner.try_lock()?, in try_lock()
122 pub fn try_lock(&self) -> Option<Guard<'_, T>> { in try_lock() method
Completed in 5 milliseconds