pub struct RuntimeSpawner;Implementations§
Source§impl RuntimeSpawner
impl RuntimeSpawner
pub fn spawn<F>(future: F) -> JoinHandle<F::Output>
Trait Implementations§
Source§impl Clone for RuntimeSpawner
impl Clone for RuntimeSpawner
Source§fn clone(&self) -> RuntimeSpawner
fn clone(&self) -> RuntimeSpawner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RuntimeSpawner
Source§impl Debug for RuntimeSpawner
impl Debug for RuntimeSpawner
Source§impl Default for RuntimeSpawner
impl Default for RuntimeSpawner
Source§fn default() -> RuntimeSpawner
fn default() -> RuntimeSpawner
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuntimeSpawner
impl RefUnwindSafe for RuntimeSpawner
impl Send for RuntimeSpawner
impl Sync for RuntimeSpawner
impl Unpin for RuntimeSpawner
impl UnsafeUnpin for RuntimeSpawner
impl UnwindSafe for RuntimeSpawner
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