[][src]Struct tabox::result::ResourceUsage

pub struct ResourceUsage {
    pub memory_usage: usize,
    pub user_cpu_time: f64,
    pub system_cpu_time: f64,
    pub wall_time_usage: f64,
}

Struct that contains the information about resource usage of the process

Fields

memory_usage: usize

Memory usage in bytes

user_cpu_time: f64

User cpu time usage in seconds

system_cpu_time: f64

System cpu time usage in seconds

wall_time_usage: f64

Wall time usage

Trait Implementations

impl Clone for ResourceUsage[src]

impl Copy for ResourceUsage[src]

impl Debug for ResourceUsage[src]

impl Serialize for ResourceUsage[src]

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

Auto Trait Implementations

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 = !

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]