pub struct ProcessDelta {
pub pid: u32,
pub name: String,
pub user: String,
pub connections: usize,
pub read_bytes_sec: f64,
pub write_bytes_sec: f64,
pub cpu_percent: f64,
pub mem_percent: f64,
pub state: String,
}Fields§
§pid: u32§name: String§user: String§connections: usize§read_bytes_sec: f64§write_bytes_sec: f64§cpu_percent: f64§mem_percent: f64§state: StringTrait Implementations§
Source§impl Clone for ProcessDelta
impl Clone for ProcessDelta
Source§fn clone(&self) -> ProcessDelta
fn clone(&self) -> ProcessDelta
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessDelta
impl Debug for ProcessDelta
Source§impl Default for ProcessDelta
impl Default for ProcessDelta
Source§fn default() -> ProcessDelta
fn default() -> ProcessDelta
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessDelta
impl RefUnwindSafe for ProcessDelta
impl Send for ProcessDelta
impl Sync for ProcessDelta
impl Unpin for ProcessDelta
impl UnsafeUnpin for ProcessDelta
impl UnwindSafe for ProcessDelta
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more