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()
120 /// let res = devres.try_access().ok_or(ENXIO)?;330 /// [`Devres`] accessor for [`Revocable::try_access`]. in register_foreign() 331 pub fn try_access(&self) -> Option<RevocableGuard<'_, T>> { in register_foreign() 332 self.data().try_access() in register_foreign() 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() 465 let inner = self.inner.try_access().ok_or(ENODEV)?;