Struct async_scoped::spawner::use_async_std::AsyncStd
source · pub struct AsyncStd;
Trait Implementations§
source§impl<T: Send + 'static> FuncSpawner<T> for AsyncStd
impl<T: Send + 'static> FuncSpawner<T> for AsyncStd
type FutureOutput = T
type SpawnHandle = JoinHandle<T>
fn spawn_func<F: FnOnce() -> T + Send + 'static>( &self, f: F ) -> Self::SpawnHandle
source§impl<T: Send + 'static> Spawner<T> for AsyncStd
impl<T: Send + 'static> Spawner<T> for AsyncStd
type FutureOutput = T
type SpawnHandle = JoinHandle<T>
fn spawn<F: Future<Output = T> + Send + 'static>( &self, f: F ) -> Self::SpawnHandle
Auto Trait Implementations§
impl RefUnwindSafe for AsyncStd
impl Send for AsyncStd
impl Sync for AsyncStd
impl Unpin for AsyncStd
impl UnwindSafe for AsyncStd
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more