pub trait SpawnDefaultExt: Future {
    // Provided method
    fn spawn(self) -> Spawner<'static, Self, Sender<((), TaskType)>, (), ()> 
       where Self: Sized + Send + 'static,
             Self::Output: Send + 'static { ... }
}

Provided Methods§

source

fn spawn(self) -> Spawner<'static, Self, Sender<((), TaskType)>, (), ()>
where Self: Sized + Send + 'static, Self::Output: Send + 'static,

Implementors§

source§

impl<T> SpawnDefaultExt for T
where T: Future + ?Sized,