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 moreimpl Copy for proc_threadinfo
Auto Trait Implementations§
impl Freeze for proc_threadinfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)