Trait async_nursery::LocalNurse [−][src]
pub trait LocalNurse<Out: 'static> { fn nurse_local_obj(
&self,
fut: LocalFutureObj<'static, Out>
) -> Result<(), NurseErr>; }
Required methods
fn nurse_local_obj(
&self,
fut: LocalFutureObj<'static, Out>
) -> Result<(), NurseErr>
[src]
fn nurse_local_obj(
&self,
fut: LocalFutureObj<'static, Out>
) -> Result<(), NurseErr>
[src]Spawn a !Send
future and store it’s JoinHandle.
Implementations on Foreign Types
Implementors
impl<S, Out> LocalNurse<Out> for Nursery<S, Out> where
S: LocalSpawnHandle<Out>,
Out: 'static,
[src]
impl<S, Out> LocalNurse<Out> for Nursery<S, Out> where
S: LocalSpawnHandle<Out>,
Out: 'static,
[src]