Home
last modified time | relevance | path

Searched refs:try_access_with (Results 1 – 2 of 2) sorted by relevance

/linux/rust/kernel/
H A Ddevres.rs335 /// [`Devres`] accessor for [`Revocable::try_access_with`]. in register_foreign()
336 pub fn try_access_with<R, F: FnOnce(&T) -> R>(&self, f: F) -> Option<R> { in register_foreign()
337 self.data().try_access_with(f) in register_foreign()
276 pub fn try_access_with<R, F: FnOnce(&T) -> R>(&self, f: F) -> Option<R> { try_access_with() method
H A Drevocable.rs140 pub fn try_access_with<R, F: FnOnce(&T) -> R>(&self, f: F) -> Option<R> { in try_access_with() method