pub type thread_basic_info_data_t = thread_basic_info;

Aliased Type§

struct thread_basic_info_data_t {
    pub user_time: time_value_t,
    pub system_time: time_value_t,
    pub cpu_usage: i32,
    pub policy: i32,
    pub run_state: i32,
    pub flags: i32,
    pub suspend_count: i32,
    pub sleep_time: i32,
}

Fields§

§user_time: time_value_t§system_time: time_value_t§cpu_usage: i32§policy: i32§run_state: i32§flags: i32§suspend_count: i32§sleep_time: i32

Trait Implementations§

source§

impl Clone for thread_basic_info

source§

fn clone(&self) -> thread_basic_info

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for thread_basic_info

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for thread_basic_info

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<thread_basic_info> for thread_basic_info

source§

fn eq(&self, other: &thread_basic_info) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for thread_basic_info

source§

impl Eq for thread_basic_info