Trait async_nursery::LocalNurseExt[][src]

pub trait LocalNurseExt<Out: 'static>: LocalNurse<Out> {
    fn nurse_local(
        &self,
        fut: impl Future<Output = Out> + 'static
    ) -> Result<(), NurseErr>; }
Expand description

Extension trait that allows passing in a future directly. Does the conversion to [LocalFutureObj] for you.

Required methods

Spawn a !Send future and store it’s JoinHandle.

Implementors