Skip to main content

current_executor

Function current_executor 

Source
pub fn current_executor() -> Option<Arc<dyn Executor>>
Expand description

The installed ambient executor, or None outside any scope. An ORM-specific Repo calls this and downcasts via Executor::as_any.