[][src]Struct datastreamcorelib::resources::Usage

pub struct Usage {
    pub utime: f64,
    pub stime: f64,
    pub maxrss: u32,
    pub ixrss: u32,
    pub idrss: u32,
    pub isrss: u32,
    pub minflt: u32,
    pub majflt: u32,
    pub nswap: u32,
    pub inblock: u32,
    pub oublock: u32,
    pub msgsnd: u32,
    pub msgrcv: u32,
    pub nsignals: u32,
    pub nvcsw: u32,
    pub nivcsw: u32,
}

Resource usage information

Fields

utime: f64stime: f64maxrss: u32ixrss: u32idrss: u32isrss: u32minflt: u32majflt: u32nswap: u32inblock: u32oublock: u32msgsnd: u32msgrcv: u32nsignals: u32nvcsw: u32nivcsw: u32

Implementations

impl Usage[src]

pub fn new() -> Fallible<Usage>[src]

Get a Usage struct populated with the values from libc::getrusage

Trait Implementations

impl Debug for Usage[src]

impl Default for Usage[src]

impl<'de> Deserialize<'de> for Usage[src]

impl Serialize for Usage[src]

Auto Trait Implementations

impl RefUnwindSafe for Usage

impl Send for Usage

impl Sync for Usage

impl Unpin for Usage

impl UnwindSafe for Usage

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,