agde_tokio

Struct TokioRuntime

source
pub struct TokioRuntime;

Trait Implementations§

source§

impl Runtime for TokioRuntime

source§

type Sleep = Sleep

source§

fn spawn<T: Send + 'static, F: Future<Output = T> + Send + 'static>( future: F, ) -> Box<dyn TaskHandle<T>>

source§

fn sleep(duration: Duration) -> Self::Sleep

Auto Trait Implementations§