Struct cpu_monitor::CpuInstant[][src]

pub struct CpuInstant { /* fields omitted */ }

Like std::time::Instant, but with information about the cpu usage stats.

Methods

impl CpuInstant
[src]

Get the current instant.

The main constructor method of the crate.

Get the wrapped time::Instant.

Trait Implementations

impl Debug for CpuInstant
[src]

Formats the value using the given formatter. Read more

impl Copy for CpuInstant
[src]

impl Clone for CpuInstant
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Sub for CpuInstant
[src]

The resulting type after applying the - operator.

Performs the - operation.

Auto Trait Implementations

impl Send for CpuInstant

impl Sync for CpuInstant