Trait task_executor::SpawnDefaultExt
source · [−]pub trait SpawnDefaultExt: Future {
fn spawn(self) -> Spawner<'static, Self>ⓘNotable traits for Spawner<'_, Item>impl<Item> Future for Spawner<'_, Item>where
Item: Future + Send + 'static,
Item::Output: Send + 'static, type Output = Result<(), Error<Item>>;
where
Self: Sized + Send + 'static,
Self::Output: Send + 'static,
{ ... }
}