Trait janus_core::Runtime
source · [−]pub trait Runtime {
fn spawn<F>(&self, future: F) -> JoinHandle<F::Output>
where
F: Future + Send + 'static,
F::Output: Send + 'static;
}Expand description
This trait provides a mockable facade for tokio::task::spawn.