Struct rustpython_vm::stdlib::errno::errors::thread_basic_info
source · #[repr(C)]pub struct thread_basic_info {
pub user_time: time_value_t,
pub system_time: time_value_t,
pub cpu_usage: i32,
pub policy: i32,
pub run_state: i32,
pub flags: i32,
pub suspend_count: i32,
pub sleep_time: i32,
}
Fields§
§user_time: time_value_t
§system_time: time_value_t
§cpu_usage: i32
§policy: i32
§run_state: i32
§flags: i32
§suspend_count: i32
§sleep_time: i32
Trait Implementations§
source§impl Clone for thread_basic_info
impl Clone for thread_basic_info
source§fn clone(&self) -> thread_basic_info
fn clone(&self) -> thread_basic_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_basic_info
impl Debug for thread_basic_info
source§impl Hash for thread_basic_info
impl Hash for thread_basic_info
source§impl PartialEq<thread_basic_info> for thread_basic_info
impl PartialEq<thread_basic_info> for thread_basic_info
source§fn eq(&self, other: &thread_basic_info) -> bool
fn eq(&self, other: &thread_basic_info) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for thread_basic_info
impl Eq for thread_basic_info
Auto Trait Implementations§
impl RefUnwindSafe for thread_basic_info
impl Send for thread_basic_info
impl Sync for thread_basic_info
impl Unpin for thread_basic_info
impl UnwindSafe for thread_basic_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> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.