Struct dpdk_unix::android_linux::memoryStatistics::MemoryStatistics
[−]
[src]
pub struct MemoryStatistics(_);
Methods
impl MemoryStatistics
[src]
fn getStatistic(&self, memoryStatisticName: &MemoryStatisticName) -> Option<u64>
fn freePhysicalRam(&self) -> Option<u64>
fn defaultHugePageSize(&self) -> Option<HugePageSize>
fn usedPhysicalRam(&self) -> Option<u64>
fn usedSwap(&self) -> Option<u64>
fn forMachine(procPath: &Path) -> Result<Self, MemoryStatisticsParseError>
fn parse(
parentFolderPath: &Path,
memoryStatisticNamePrefix: &str
) -> Result<Self, MemoryStatisticsParseError>
parentFolderPath: &Path,
memoryStatisticNamePrefix: &str
) -> Result<Self, MemoryStatisticsParseError>
Trait Implementations
impl Debug for MemoryStatistics
[src]
impl Clone for MemoryStatistics
[src]
fn clone(&self) -> MemoryStatistics
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for MemoryStatistics
[src]
fn eq(&self, __arg_0: &MemoryStatistics) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MemoryStatistics) -> bool
This method tests for !=
.