Struct jortestkit::measurement::ResourcesUsage
source · pub struct ResourcesUsage {
cpu_usage: u32,
memory_usage: u32,
virtual_memory_usage: u32,
}
Fields§
§cpu_usage: u32
§memory_usage: u32
§virtual_memory_usage: u32
Implementations§
Trait Implementations§
source§impl Clone for ResourcesUsage
impl Clone for ResourcesUsage
source§fn clone(&self) -> ResourcesUsage
fn clone(&self) -> ResourcesUsage
Returns a copy 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 ResourcesUsage
impl Debug for ResourcesUsage
source§impl Display for ResourcesUsage
impl Display for ResourcesUsage
source§impl Ord for ResourcesUsage
impl Ord for ResourcesUsage
source§impl PartialEq<ResourcesUsage> for ResourcesUsage
impl PartialEq<ResourcesUsage> for ResourcesUsage
source§impl PartialOrd<ResourcesUsage> for ResourcesUsage
impl PartialOrd<ResourcesUsage> for ResourcesUsage
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ResourcesUsage
Auto Trait Implementations§
impl RefUnwindSafe for ResourcesUsage
impl Send for ResourcesUsage
impl Sync for ResourcesUsage
impl Unpin for ResourcesUsage
impl UnwindSafe for ResourcesUsage
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.