[−][src]Trait async_nursery::NurseExt
Extension trait that allows passing in a future directly. Does the conversion to FutureObj
for you.
Required methods
fn nurse(
&self,
fut: impl Future<Output = Out> + Send + 'static
) -> Result<(), NurseErr>
&self,
fut: impl Future<Output = Out> + Send + 'static
) -> Result<(), NurseErr>
Spawn a future and store it's JoinHandle.