Skip to main content

TableGeneric

Trait TableGeneric 

Source
pub trait TableGeneric:
    Sync
    + Send
    + Clone
    + Copy
    + 'static {
    type PTE: PTEGeneric;

    const PAGE_SIZE: usize = 0x1000;
    const LEVEL: usize = 4;
    const VALID_BITS: usize = _;
    const MAX_BLOCK_LEVEL: usize = 3;
    const TABLE_LEN: usize = _;

    // Required method
    fn flush(vaddr: Option<VirtAddr>);
}

Provided Associated Constants§

Required Associated Types§

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§