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
sourceimpl Clone for proc_threadinfo
impl Clone for proc_threadinfo
sourcefn clone(&self) -> proc_threadinfo
fn clone(&self) -> proc_threadinfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more