pub struct PanicSpawner { /* private fields */ }
Expand description
Implementations§
Source§impl PanicSpawner
impl PanicSpawner
Trait Implementations§
Source§impl Debug for PanicSpawner
impl Debug for PanicSpawner
Source§impl Default for PanicSpawner
impl Default for PanicSpawner
Auto Trait Implementations§
impl Freeze for PanicSpawner
impl RefUnwindSafe for PanicSpawner
impl Send for PanicSpawner
impl Sync for PanicSpawner
impl Unpin for PanicSpawner
impl UnwindSafe for PanicSpawner
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