pub struct HostMetrics {
pub logical_cpu_count: u32,
pub memory: HostMemoryMetrics,
}Expand description
Point-in-time metrics for the host.
Fields§
§logical_cpu_count: u32Number of logical processors visible to the current process.
memory: HostMemoryMetricsHost memory metrics.
Trait Implementations§
Source§impl Clone for HostMetrics
impl Clone for HostMetrics
Source§fn clone(&self) -> HostMetrics
fn clone(&self) -> HostMetrics
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 HostMetrics
impl Debug for HostMetrics
Source§impl Default for HostMetrics
impl Default for HostMetrics
Source§fn default() -> HostMetrics
fn default() -> HostMetrics
Returns the “default value” for a type. Read more
impl Copy for HostMetrics
Auto Trait Implementations§
impl Freeze for HostMetrics
impl RefUnwindSafe for HostMetrics
impl Send for HostMetrics
impl Sync for HostMetrics
impl Unpin for HostMetrics
impl UnsafeUnpin for HostMetrics
impl UnwindSafe for HostMetrics
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