Searched refs:try_access (Results 1 – 3 of 3) sorted by relevance
99 pub fn try_access(&self) -> Option<RevocableGuard<'_, T>> { in try_access() method141 self.try_access().map(|t| f(&*t)) in try_access_with()
107 /// let res = devres.try_access().ok_or(ENXIO)?;237 /// [`Devres`] accessor for [`Revocable::try_access`].238 pub fn try_access(&self) -> Option<RevocableGuard<'_, T>> {239 self.data().try_access()271 pub fn try_access(&self) -> Option<RevocableGuard<'_, T>> { try_access() method
247 let inner = self.inner.try_access().ok_or(ENODEV)?; in try_synchronize()468 let inner = self.inner.try_access().ok_or(ENODEV)?; in try_synchronize()