#[repr(C)]pub struct es_thread_state_t {
pub flavor: c_int,
pub state: es_token_t,
}Available on macOS and crate feature
macos_11_0_0 only.Expand description
Machine-specific thread state as used by thread_create_running and other Mach API functions.
The size subfield of the state field is in bytes, NOT natural_t units. Definitions for
working with thread state can be found in the include file mach/thread_status.h and
corresponding machine-dependent headers.
Fields§
§flavor: c_intRepresentation of the machine-specific thread state
state: es_token_tMachine-specific thread state, equivalent to thread_state_t in Mach APIs
Auto Trait Implementations§
impl Freeze for es_thread_state_t
impl RefUnwindSafe for es_thread_state_t
impl !Send for es_thread_state_t
impl !Sync for es_thread_state_t
impl Unpin for es_thread_state_t
impl UnwindSafe for es_thread_state_t
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