pub struct NoopSpawner { /* private fields */ }
Expand description
Implementations§
Source§impl NoopSpawner
impl NoopSpawner
Trait Implementations§
Source§impl Debug for NoopSpawner
impl Debug for NoopSpawner
Source§impl Default for NoopSpawner
impl Default for NoopSpawner
Auto Trait Implementations§
impl Freeze for NoopSpawner
impl RefUnwindSafe for NoopSpawner
impl Send for NoopSpawner
impl Sync for NoopSpawner
impl Unpin for NoopSpawner
impl UnwindSafe for NoopSpawner
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
§impl<Sp> SpawnExt for Sp
impl<Sp> SpawnExt for Sp
§fn spawn<Fut>(&self, future: Fut) -> Result<(), SpawnError>
fn spawn<Fut>(&self, future: Fut) -> Result<(), SpawnError>
Spawns a task that polls the given future with output
()
to
completion. Read more§fn spawn_with_handle<Fut>(
&self,
future: Fut,
) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError>
fn spawn_with_handle<Fut>( &self, future: Fut, ) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError>
Spawns a task that polls the given future to completion and returns a
future that resolves to the spawned future’s output. Read more