pub struct BackgroundThread { /* private fields */ }Expand description
A background thread. Joins on drop, so long as there’s no panic in-progress.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackgroundThread
impl !RefUnwindSafe for BackgroundThread
impl Send for BackgroundThread
impl Sync for BackgroundThread
impl Unpin for BackgroundThread
impl !UnwindSafe for BackgroundThread
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