[][src]Struct linux_stats::Stat

pub struct Stat {
    pub cpu: Vec<u64>,
    pub cpus: Vec<Vec<u64>>,
    pub intr: Vec<u64>,
    pub ctxt: u64,
    pub btime: u32,
    pub processes: u32,
    pub procs_running: u32,
    pub procs_blocked: u32,
    pub softirq: Vec<u64>,
}

Represents the output of cat /proc/stat

Fields

cpu: Vec<u64>cpus: Vec<Vec<u64>>intr: Vec<u64>ctxt: u64btime: u32processes: u32procs_running: u32procs_blocked: u32softirq: Vec<u64>

Trait Implementations

impl Clone for Stat[src]

impl Default for Stat[src]

impl PartialEq<Stat> for Stat[src]

impl Debug for Stat[src]

impl FromStr for Stat[src]

type Err = Infallible

The associated error which can be returned from parsing.

impl Encodable for Stat[src]

impl Decodable for Stat[src]

Auto Trait Implementations

impl Unpin for Stat

impl Sync for Stat

impl Send for Stat

impl UnwindSafe for Stat

impl RefUnwindSafe for Stat

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]