Searched defs:with_current (Results 1 – 5 of 5) sorted by relevance
37 pub(crate) fn with_current<F, R>(f: F) -> Result<R, TryCurrentError> in with_current() function
264 fn with_current<F, R>(&self, f: F) -> Result<R, AccessError> in with_current() method
334 pub fn with_current<T>(&self, f: impl FnOnce(&L) -> T) -> Result<T, Error> { in with_current() method
1252 fn with_current<R>(f: impl FnOnce(Option<&Context>) -> R) -> R { in with_current() function
1597 fn with_current<R>(f: impl FnOnce(Option<&Context>) -> R) -> R { in with_current() function