pub struct ThreadState { /* private fields */ }Expand description
| Per-thread state for concurrent executions | of the same benchmark. |
Implementations§
Source§impl ThreadState
impl ThreadState
pub fn new(index: i32) -> ThreadState
Auto Trait Implementations§
impl Freeze for ThreadState
impl !RefUnwindSafe for ThreadState
impl !Send for ThreadState
impl !Sync for ThreadState
impl Unpin for ThreadState
impl !UnwindSafe for ThreadState
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