pub struct NewThread;Expand description
Spawn all futures on a new thread
This is the most basic Spawn implementation. Each call to spawn results
in a new thread dedicated to processing the given future to completion.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewThread
impl RefUnwindSafe for NewThread
impl Send for NewThread
impl Sync for NewThread
impl Unpin for NewThread
impl UnwindSafe for NewThread
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