Struct rayon::ThreadBuilder
source · [−]pub struct ThreadBuilder { /* private fields */ }
Expand description
Thread builder used for customization via
ThreadPoolBuilder::spawn_handler
.
Implementations
sourceimpl ThreadBuilder
impl ThreadBuilder
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
Gets the string that was specified by ThreadPoolBuilder::name()
.
sourcepub fn stack_size(&self) -> Option<usize>
pub fn stack_size(&self) -> Option<usize>
Gets the value that was specified by ThreadPoolBuilder::stack_size()
.
Trait Implementations
sourceimpl Debug for ThreadBuilder
impl Debug for ThreadBuilder
Auto Trait Implementations
impl !RefUnwindSafe for ThreadBuilder
impl Send for ThreadBuilder
impl !Sync for ThreadBuilder
impl Unpin for ThreadBuilder
impl !UnwindSafe for ThreadBuilder
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more