Enum self_meter::Error []

pub enum Error {
    Uptime(UptimeError),
    Status(StatusError),
    Stat(StatError),
    ThreadStat(Pid, StatError),
    IoStat(IoStatError),
}

Error scanning process info in /proc

Variants

Error reading uptime value

Error reading /proc/self/status

Error reading /proc/self/stat

Error reading thread status

Error reading IO stats

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl From<UptimeError> for Error

Performs the conversion.

impl From<StatusError> for Error

Performs the conversion.

impl From<IoStatError> for Error

Performs the conversion.