Struct tabin_plugins::linux::UserHz[][src]

pub struct UserHz(_);

A value that is in USER_HZ units

This generally represents some time period of CPU usage

Implementations

impl UserHz[src]

pub fn new(val: u64) -> UserHz[src]

pub fn duration(&self) -> Duration[src]

Trait Implementations

impl Add<UserHz> for UserHz[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for UserHz[src]

impl Copy for UserHz[src]

impl Debug for UserHz[src]

impl Display for UserHz[src]

impl Eq for UserHz[src]

impl Ord for UserHz[src]

impl PartialEq<UserHz> for UserHz[src]

impl PartialOrd<UserHz> for UserHz[src]

impl StructuralEq for UserHz[src]

impl StructuralPartialEq for UserHz[src]

impl Sub<UserHz> for UserHz[src]

type Output = Self

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for UserHz

impl Send for UserHz

impl Sync for UserHz

impl Unpin for UserHz

impl UnwindSafe for UserHz

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.