run_with

Function run_with 

Source
pub async fn run_with<R, E>(env: E) -> Result<()>
where R: Runtime + Default + 'static, E: Env<<R as RuntimeDef>::Cli> + Send + 'static,
Expand description

Starts the runtime within a new tokio::task::LocalSet, using a custom environment configuration provider