pub(crate) async fn run<T>(&self, future: impl Future<Output = T>) -> T {
        #[cfg(not(feature = "tokio"))]
        {
            self.executor.run(future).await
        }
        #[cfg(feature = "tokio")]
        {
            future.await
        }
    }
Runs the executor until the given future completes.

With `tokio` feature enabled, it just awaits on the `future`.
platforms/unix/src/executor.rs