pub struct MemInfoLocked {
pub used: u64,
pub free: u64,
pub total: u64,
pub locked: u64,
pub chunks_used: u64,
pub chunks_free: u64,
}Fields§
§used: u64Memory currently in use, in bytes
free: u64Memory currently free, in bytes
total: u64Total memory allocated, in bytes
locked: u64Total memory locked, in bytes
If total is less than total, then some pages may be on swap or not philysically allocated yet
chunks_used: u64How many chunks are currently in use
chunks_free: u64How many chunks are currently free
Trait Implementations§
Source§impl Debug for MemInfoLocked
impl Debug for MemInfoLocked
Source§impl Default for MemInfoLocked
impl Default for MemInfoLocked
Source§fn default() -> MemInfoLocked
fn default() -> MemInfoLocked
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemInfoLocked
impl<'de> Deserialize<'de> for MemInfoLocked
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 MemInfoLocked
impl RefUnwindSafe for MemInfoLocked
impl Send for MemInfoLocked
impl Sync for MemInfoLocked
impl Unpin for MemInfoLocked
impl UnwindSafe for MemInfoLocked
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