Struct tabin_plugins::procfs::ProcessCpuUsages[][src]

pub struct ProcessCpuUsages<'a>(_);

A collection of ProcessCpuUsages

This is basically the value of the RunningProcs::currently_running() map.

Implementations

impl<'a> ProcessCpuUsages<'a>[src]

pub fn sort_by_field(&mut self, field: ProcField)[src]

Sort the processes by the field

See the ProcField docs for details

pub fn len(&self) -> usize[src]

The number of processes we successfully loaded

pub fn iter(&'a self) -> Iter<'a, ProcessCpuUsage<'a>>[src]

Get an iterator over the underlying Vec.

Trait Implementations

impl<'a> Debug for ProcessCpuUsages<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ProcessCpuUsages<'a>

impl<'a> Send for ProcessCpuUsages<'a>

impl<'a> Sync for ProcessCpuUsages<'a>

impl<'a> Unpin for ProcessCpuUsages<'a>

impl<'a> UnwindSafe for ProcessCpuUsages<'a>

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

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.