Function cuprate_database::resize::page_size
source · pub fn page_size() -> NonZeroUsizeExpand description
This function retrieves the system’s memory page size.
It is just page_size::get internally.
This caches the result, so this function is cheap after the 1st call.
§Panics
This function will panic if the OS returns of page size of 0 (impossible?).