[][src]Struct lpfs::proc::Stat

pub struct Stat { /* fields omitted */ }

Represent the content of /proc/stat, returned by stat().

Reference to stat.c.

Methods

impl Stat[src]

pub fn cpu(&self) -> &Cpu[src]

pub fn cpu_n(&self) -> &Vec<Cpu>[src]

pub fn intr(&self) -> &Vec<u64>[src]

pub fn ctxt(&self) -> &u64[src]

pub fn btime(&self) -> &u64[src]

pub fn procs_running(&self) -> &u64[src]

pub fn processes(&self) -> &u64[src]

pub fn procs_blocked(&self) -> &u64[src]

pub fn softirq(&self) -> &Vec<u64>[src]

Trait Implementations

impl Clone for Stat[src]

impl Debug for Stat[src]

impl FromStr for Stat[src]

type Err = ProcErr

The associated error which can be returned from parsing.

impl PartialEq<Stat> for Stat[src]

impl StructuralPartialEq for Stat[src]

Auto Trait Implementations

impl RefUnwindSafe for Stat

impl Send for Stat

impl Sync for Stat

impl Unpin for Stat

impl UnwindSafe for Stat

Blanket Implementations

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

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

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

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.