pub struct Builder { /* private fields */ }Expand description
Thread factory to configure the properties of a new thread.
These threads wrap std::threads to provide a few additional features:
- Shutdown requests: thread handles can signal their thread it should stop (be warned the thread function may ignore this).
- Threads introspection: APIs provide information about running threads (threads can even report what they are doing at the time).
Implementations§
Source§impl Builder
impl Builder
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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