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 moreimpl Copy for thread_extended_info
Auto Trait Implementations§
impl Freeze for thread_extended_info
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
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
)