pub struct RecordSpawner { /* private fields */ }
Expand description
Implementations§
Trait Implementations§
Source§impl Debug for RecordSpawner
impl Debug for RecordSpawner
Source§impl Default for RecordSpawner
impl Default for RecordSpawner
Source§fn default() -> RecordSpawner
fn default() -> RecordSpawner
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for RecordSpawner
impl !RefUnwindSafe for RecordSpawner
impl Send for RecordSpawner
impl !Sync for RecordSpawner
impl Unpin for RecordSpawner
impl !UnwindSafe for RecordSpawner
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