Function tokio::runtime::context::blocking::disallow_block_in_place

source ยท
pub(crate) fn disallow_block_in_place() -> DisallowBlockInPlaceGuard
Expand description

Disallows blocking in the current runtime context until the guard is dropped.