pub(crate) fn with_runtime<F, Fut>( config: RuntimeConfig, handler: F, ) -> Result<()>where F: FnOnce() -> Fut, Fut: Future<Output = Result<()>>,
Execute a command with the appropriate runtime configuration