Struct libc::thread_extended_info
source · #[repr(C)]pub struct thread_extended_info {
pub pth_user_time: u64,
pub pth_system_time: u64,
pub pth_cpu_usage: i32,
pub pth_policy: i32,
pub pth_run_state: i32,
pub pth_flags: i32,
pub pth_sleep_time: i32,
pub pth_curpri: i32,
pub pth_priority: i32,
pub pth_maxpriority: i32,
pub pth_name: [c_char; 64],
}
Fields§
§pth_user_time: u64
§pth_system_time: u64
§pth_cpu_usage: i32
§pth_policy: i32
§pth_run_state: i32
§pth_flags: i32
§pth_sleep_time: i32
§pth_curpri: i32
§pth_priority: i32
§pth_maxpriority: i32
§pth_name: [c_char; 64]
Trait Implementations§
source§impl Clone for thread_extended_info
impl Clone for thread_extended_info
source§fn clone(&self) -> thread_extended_info
fn clone(&self) -> thread_extended_info
Returns a copy of the value. Read more
1.0.0 · source§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_extended_info
impl Debug for thread_extended_info
source§impl Hash for thread_extended_info
impl Hash for thread_extended_info
source§impl PartialEq<thread_extended_info> for thread_extended_info
impl PartialEq<thread_extended_info> for thread_extended_info
source§fn eq(&self, other: &thread_extended_info) -> bool
fn eq(&self, other: &thread_extended_info) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for thread_extended_info
impl Eq for thread_extended_info
Auto Trait Implementations§
impl RefUnwindSafe for thread_extended_info
impl Send for thread_extended_info
impl Sync for thread_extended_info
impl Unpin for thread_extended_info
impl UnwindSafe for thread_extended_info
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