Trait procfs_core::SystemInfoInterface
source · pub trait SystemInfoInterface {
// Required methods
fn boot_time_secs(&self) -> ProcResult<u64>;
fn ticks_per_second(&self) -> u64;
fn page_size(&self) -> u64;
fn is_little_endian(&self) -> bool;
// Provided method
fn boot_time(&self) -> ProcResult<DateTime<Local>> { ... }
}
Expand description
Auxiliary system information interface.
Required Methods§
fn boot_time_secs(&self) -> ProcResult<u64>
fn ticks_per_second(&self) -> u64
fn page_size(&self) -> u64
sourcefn is_little_endian(&self) -> bool
fn is_little_endian(&self) -> bool
Whether the system is little endian (true) or big endian (false).