pub struct Process {
pub user: String,
pub pid: String,
pub cpu: Option<String>,
pub memory: Option<String>,
pub vsz: Option<String>,
pub rss: Option<String>,
pub tty: Option<String>,
pub stat: Option<String>,
pub start: Option<String>,
pub time: Option<String>,
pub command: String,
}command: StringFormats the value using the given formatter. Read more
Converts the given value to a String. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static