#[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_tTrait Implementations§
Source§impl Clone for thread_basic_info
impl Clone for thread_basic_info
impl Copy for thread_basic_info
Source§impl Debug for thread_basic_info
impl Debug for thread_basic_info
Source§impl Default for thread_basic_info
impl Default for thread_basic_info
impl Eq 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
impl StructuralPartialEq for thread_basic_info
Auto Trait Implementations§
impl Freeze for thread_basic_info
impl RefUnwindSafe for thread_basic_info
impl Send for thread_basic_info
impl Sync for thread_basic_info
impl Unpin for thread_basic_info
impl UnsafeUnpin for thread_basic_info
impl UnwindSafe for thread_basic_info
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)