pub struct DefaultSpawner;Expand description
A default spawner using std::thread::spawn for std environments.
Trait Implementations§
Source§impl Clone for DefaultSpawner
impl Clone for DefaultSpawner
Source§fn clone(&self) -> DefaultSpawner
fn clone(&self) -> DefaultSpawner
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 moreSource§impl DaemonSpawner for DefaultSpawner
Available on crate feature std only.
impl DaemonSpawner for DefaultSpawner
Available on crate feature
std only.Source§impl Debug for DefaultSpawner
impl Debug for DefaultSpawner
Source§impl Default for DefaultSpawner
impl Default for DefaultSpawner
Source§fn default() -> DefaultSpawner
fn default() -> DefaultSpawner
Returns the “default value” for a type. Read more
impl Copy for DefaultSpawner
Auto Trait Implementations§
impl Freeze for DefaultSpawner
impl RefUnwindSafe for DefaultSpawner
impl Send for DefaultSpawner
impl Sync for DefaultSpawner
impl Unpin for DefaultSpawner
impl UnsafeUnpin for DefaultSpawner
impl UnwindSafe for DefaultSpawner
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