usestd::fmt::Debug;usestd::future::Future;/// Runtime abstracts away the underlying runtime we use for task scheduling.
pubtraitRuntime: Clone + Send + Sync + Unpin + Debug {/// Spawn a [`Future`] to run as a task in some executor.
fnspawn<F>(&self, future: F)where
F:Future<Output = ()> + Send + 'static;
}