pub struct ThreadState {
pub reason: StopReason,
/* private fields */
}Fields§
§reason: StopReasonImplementations§
Source§impl ThreadState
impl ThreadState
Sourcepub fn builder() -> ThreadStateBuilder<((), (), (), (), ())>
pub fn builder() -> ThreadStateBuilder<((), (), (), (), ())>
Create a builder for building ThreadState.
On the builder, call .tid(...), .regs(...), .reason(...)(optional), .state(...)(optional), .pending_sigstop(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of 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