[][src]Function async_runtime::current_rt

pub fn current_rt() -> Option<Config>

Which executor is configured for the current thread?

If you are a library author you can use this to generate a clean error message if you have a hard requirement for a certain executor.