pub fn size() -> usize
Expand description
Returns the operating system’s page size.
This function uses an internally cached page size, and can be called repeatedly without incurring a significant performance penalty.
Examples
let size = page::size(); // Most likely 4096