Trait async_nursery::LocalNurseExt
source · [−]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.