pub trait PTEArch:
Sync
+ Send
+ Clone
+ Copy
+ 'static {
// Required methods
fn page_size() -> usize;
fn level() -> usize;
fn new_pte(config: PTEGeneric) -> usize;
fn read_pte(pte: usize) -> PTEGeneric;
}
Required Methods§
fn page_size() -> usize
fn level() -> usize
fn new_pte(config: PTEGeneric) -> usize
fn read_pte(pte: usize) -> PTEGeneric
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.