pub struct Spawner { /* private fields */ }Expand description
Spawner spawns new futures into the executor.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Spawner
impl !RefUnwindSafe for Spawner
impl !Send for Spawner
impl !Sync for Spawner
impl Unpin for Spawner
impl !UnwindSafe for Spawner
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