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