[−][src]Struct psutil::memory::VirtualMemory
Fields
total: u64
Amount of total memory
available: u64
Amount of memory available for new processes
percent: f32
Percent of memory used
used: u64
Memory currently in use
free: u64
Memory not being used
active: u64
Memory currently in use
inactive: u64
Memory that is not in use
buffers: u64
Temporary storage for raw disk blocks
cached: u64
Memory used by the page cache
Amount of memory consumed by tmpfs filesystems
Methods
impl VirtualMemory
[src]
pub fn new(
total: u64,
available: u64,
shared: u64,
free: u64,
buffers: u64,
cached: u64,
active: u64,
inactive: u64
) -> VirtualMemory
[src]
total: u64,
available: u64,
shared: u64,
free: u64,
buffers: u64,
cached: u64,
active: u64,
inactive: u64
) -> VirtualMemory
Trait Implementations
Auto Trait Implementations
impl Sync for VirtualMemory
impl Send for VirtualMemory
impl Unpin for VirtualMemory
impl RefUnwindSafe for VirtualMemory
impl UnwindSafe for VirtualMemory
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,