page_table_generic

Trait PTEArch

Source
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§

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.

Implementors§