Searched refs:RevocableGuard (Results 1 – 2 of 2) sorted by relevance
99 pub fn try_access(&self) -> Option<RevocableGuard<'_, T>> { in try_access()104 Some(RevocableGuard::new(self.data.get(), guard)) in try_access()235 pub struct RevocableGuard<'a, T> { struct245 impl<T> RevocableGuard<'_, T> { argument255 impl<T> Deref for RevocableGuard<'_, T> { implementation
15 revocable::{Revocable, RevocableGuard},271 pub fn try_access(&self) -> Option<RevocableGuard<'_, T>> { in try_access()