[][src]Struct linux_proc::uptime::Uptime

pub struct Uptime {
    pub up: Duration,
    pub idle: Duration,
}

Fields

The time the system has been up for.

The time any core has been idle for. This may be more than the uptime if the system has multiple cores.

Methods

impl Uptime
[src]

Parse the contents of /proc/uptime.

Auto Trait Implementations

impl Send for Uptime

impl Sync for Uptime

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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