Struct taskstats

Source
#[repr(C)]
pub struct taskstats {
Show 57 fields pub version: c_ushort, pub ac_exitcode: c_uint, pub ac_flag: c_uchar, pub ac_nice: c_uchar, pub cpu_count: c_ulonglong, pub cpu_delay_total: c_ulonglong, pub blkio_count: c_ulonglong, pub blkio_delay_total: c_ulonglong, pub swapin_count: c_ulonglong, pub swapin_delay_total: c_ulonglong, pub cpu_run_real_total: c_ulonglong, pub cpu_run_virtual_total: c_ulonglong, pub ac_comm: [c_char; 32], pub ac_sched: c_uchar, pub ac_pad: [c_uchar; 3], pub __bindgen_padding_0: u32, pub ac_uid: c_uint, pub ac_gid: c_uint, pub ac_pid: c_uint, pub ac_ppid: c_uint, pub ac_btime: c_uint, pub ac_etime: c_ulonglong, pub ac_utime: c_ulonglong, pub ac_stime: c_ulonglong, pub ac_minflt: c_ulonglong, pub ac_majflt: c_ulonglong, pub coremem: c_ulonglong, pub virtmem: c_ulonglong, pub hiwater_rss: c_ulonglong, pub hiwater_vm: c_ulonglong, pub read_char: c_ulonglong, pub write_char: c_ulonglong, pub read_syscalls: c_ulonglong, pub write_syscalls: c_ulonglong, pub read_bytes: c_ulonglong, pub write_bytes: c_ulonglong, pub cancelled_write_bytes: c_ulonglong, pub nvcsw: c_ulonglong, pub nivcsw: c_ulonglong, pub ac_utimescaled: c_ulonglong, pub ac_stimescaled: c_ulonglong, pub cpu_scaled_run_real_total: c_ulonglong, pub freepages_count: c_ulonglong, pub freepages_delay_total: c_ulonglong, pub thrashing_count: c_ulonglong, pub thrashing_delay_total: c_ulonglong, pub ac_btime64: c_ulonglong, pub compact_count: c_ulonglong, pub compact_delay_total: c_ulonglong, pub ac_tgid: c_uint, pub ac_tgetime: c_ulonglong, pub ac_exe_dev: c_ulonglong, pub ac_exe_inode: c_ulonglong, pub wpcopy_count: c_ulonglong, pub wpcopy_delay_total: c_ulonglong, pub irq_count: c_ulonglong, pub irq_delay_total: c_ulonglong,
}

Fields§

§version: c_ushort§ac_exitcode: c_uint§ac_flag: c_uchar§ac_nice: c_uchar§cpu_count: c_ulonglong§cpu_delay_total: c_ulonglong§blkio_count: c_ulonglong§blkio_delay_total: c_ulonglong§swapin_count: c_ulonglong§swapin_delay_total: c_ulonglong§cpu_run_real_total: c_ulonglong§cpu_run_virtual_total: c_ulonglong§ac_comm: [c_char; 32]§ac_sched: c_uchar§ac_pad: [c_uchar; 3]§__bindgen_padding_0: u32§ac_uid: c_uint§ac_gid: c_uint§ac_pid: c_uint§ac_ppid: c_uint§ac_btime: c_uint§ac_etime: c_ulonglong§ac_utime: c_ulonglong§ac_stime: c_ulonglong§ac_minflt: c_ulonglong§ac_majflt: c_ulonglong§coremem: c_ulonglong§virtmem: c_ulonglong§hiwater_rss: c_ulonglong§hiwater_vm: c_ulonglong§read_char: c_ulonglong§write_char: c_ulonglong§read_syscalls: c_ulonglong§write_syscalls: c_ulonglong§read_bytes: c_ulonglong§write_bytes: c_ulonglong§cancelled_write_bytes: c_ulonglong§nvcsw: c_ulonglong§nivcsw: c_ulonglong§ac_utimescaled: c_ulonglong§ac_stimescaled: c_ulonglong§cpu_scaled_run_real_total: c_ulonglong§freepages_count: c_ulonglong§freepages_delay_total: c_ulonglong§thrashing_count: c_ulonglong§thrashing_delay_total: c_ulonglong§ac_btime64: c_ulonglong§compact_count: c_ulonglong§compact_delay_total: c_ulonglong§ac_tgid: c_uint§ac_tgetime: c_ulonglong§ac_exe_dev: c_ulonglong§ac_exe_inode: c_ulonglong§wpcopy_count: c_ulonglong§wpcopy_delay_total: c_ulonglong§irq_count: c_ulonglong§irq_delay_total: c_ulonglong

Trait Implementations§

Source§

impl Clone for taskstats

Source§

fn clone(&self) -> taskstats

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for taskstats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for taskstats

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.