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§

source

fn boot_time_secs(&self) -> ProcResult<u64>

source

fn ticks_per_second(&self) -> u64

source

fn page_size(&self) -> u64

source

fn is_little_endian(&self) -> bool

Whether the system is little endian (true) or big endian (false).

Provided Methods§

Implementors§