Struct balloon_control::BalloonStats
source · pub struct BalloonStats {
pub swap_in: Option<u64>,
pub swap_out: Option<u64>,
pub major_faults: Option<u64>,
pub minor_faults: Option<u64>,
pub free_memory: Option<u64>,
pub total_memory: Option<u64>,
pub available_memory: Option<u64>,
pub disk_caches: Option<u64>,
pub hugetlb_allocations: Option<u64>,
pub hugetlb_failures: Option<u64>,
pub shared_memory: Option<u64>,
pub unevictable_memory: Option<u64>,
}
Fields§
§swap_in: Option<u64>
§swap_out: Option<u64>
§major_faults: Option<u64>
§minor_faults: Option<u64>
§free_memory: Option<u64>
§total_memory: Option<u64>
§available_memory: Option<u64>
§disk_caches: Option<u64>
§hugetlb_allocations: Option<u64>
§hugetlb_failures: Option<u64>
§unevictable_memory: Option<u64>
Trait Implementations§
source§impl Clone for BalloonStats
impl Clone for BalloonStats
source§fn clone(&self) -> BalloonStats
fn clone(&self) -> BalloonStats
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 BalloonStats
impl Debug for BalloonStats
source§impl Default for BalloonStats
impl Default for BalloonStats
source§fn default() -> BalloonStats
fn default() -> BalloonStats
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BalloonStats
impl<'de> Deserialize<'de> for BalloonStats
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BalloonStats
impl Send for BalloonStats
impl Sync for BalloonStats
impl Unpin for BalloonStats
impl UnwindSafe for BalloonStats
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