Struct libc::proc_threadinfo
source · #[repr(C)]pub struct proc_threadinfo {
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 proc_threadinfo
impl Clone for proc_threadinfo
source§fn clone(&self) -> proc_threadinfo
fn clone(&self) -> proc_threadinfo
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 proc_threadinfo
impl Debug for proc_threadinfo
source§impl Hash for proc_threadinfo
impl Hash for proc_threadinfo
source§impl PartialEq<proc_threadinfo> for proc_threadinfo
impl PartialEq<proc_threadinfo> for proc_threadinfo
source§fn eq(&self, other: &proc_threadinfo) -> bool
fn eq(&self, other: &proc_threadinfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for proc_threadinfo
impl Eq for proc_threadinfo
Auto Trait Implementations§
impl RefUnwindSafe for proc_threadinfo
impl Send for proc_threadinfo
impl Sync for proc_threadinfo
impl Unpin for proc_threadinfo
impl UnwindSafe for proc_threadinfo
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