pub struct MindCapacity {
pub total_bytes: u64,
pub used_bytes: u64,
pub available_bytes: u64,
pub feeling: MindFeeling,
pub pressure: MemoryPressure,
pub largest_free_bytes: u64,
pub fragmentation: f64,
pub swap: Option<SwapUsage>,
}Expand description
Memory as mind capacity.
Fields§
§total_bytes: u64§used_bytes: u64§available_bytes: u64§feeling: MindFeeling§pressure: MemoryPressure§largest_free_bytes: u64§fragmentation: f64§swap: Option<SwapUsage>Trait Implementations§
Source§impl Clone for MindCapacity
impl Clone for MindCapacity
Source§fn clone(&self) -> MindCapacity
fn clone(&self) -> MindCapacity
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 MindCapacity
impl Debug for MindCapacity
Source§impl<'de> Deserialize<'de> for MindCapacity
impl<'de> Deserialize<'de> for MindCapacity
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 Freeze for MindCapacity
impl RefUnwindSafe for MindCapacity
impl Send for MindCapacity
impl Sync for MindCapacity
impl Unpin for MindCapacity
impl UnsafeUnpin for MindCapacity
impl UnwindSafe for MindCapacity
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