pub struct DefaultSpawn;
Expand description
DefaultSpawn
is the default implementation of ThreadSpawn
that delegates to the system’s
standard thread creation mechanism.
It applies any provided thread name using the standard thread builder.
Trait Implementations§
Source§impl Clone for DefaultSpawn
impl Clone for DefaultSpawn
Source§fn clone(&self) -> DefaultSpawn
fn clone(&self) -> DefaultSpawn
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl ThreadSpawn for DefaultSpawn
impl ThreadSpawn for DefaultSpawn
Auto Trait Implementations§
impl Freeze for DefaultSpawn
impl RefUnwindSafe for DefaultSpawn
impl Send for DefaultSpawn
impl Sync for DefaultSpawn
impl Unpin for DefaultSpawn
impl UnwindSafe for DefaultSpawn
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