tokio
1.44.1
In tokio::
runtime::
context::
current
Structs
HandleCell
SetCurrentGuard
Functions
try_set_current
with_current
tokio
::
runtime
::
context
::
current
Function
with_current
Copy item path
Settings
Help
Summary
Source
pub(crate) fn with_current<F, R>(f: F) ->
Result
<R,
TryCurrentError
>
where F:
FnOnce
(&
Handle
) -> R,