pub trait PageSize:
Copy
+ Eq
+ PartialOrd
+ Ord
+ Sealed {
const SIZE: u64;
const DEBUG_STR: &'static str;
}
Expand description
Trait for abstracting over the three possible page sizes on x86_64, 4KiB, 2MiB, 1GiB.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.