Struct libc::thread_basic_info
source · #[repr(C)]pub struct thread_basic_info {
pub user_time: time_value_t,
pub system_time: time_value_t,
pub cpu_usage: integer_t,
pub policy: policy_t,
pub run_state: integer_t,
pub flags: integer_t,
pub suspend_count: integer_t,
pub sleep_time: integer_t,
}
Fields§
§user_time: time_value_t
§system_time: time_value_t
§cpu_usage: integer_t
§policy: policy_t
§run_state: integer_t
§flags: integer_t
§suspend_count: integer_t
§sleep_time: integer_t
Trait Implementations§
source§impl Clone for thread_basic_info
impl Clone for thread_basic_info
source§fn clone(&self) -> thread_basic_info
fn clone(&self) -> thread_basic_info
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for thread_basic_info
impl Debug for thread_basic_info
source§impl Hash for thread_basic_info
impl Hash for thread_basic_info
source§impl PartialEq for thread_basic_info
impl PartialEq for thread_basic_info
source§fn eq(&self, other: &thread_basic_info) -> bool
fn eq(&self, other: &thread_basic_info) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.