TableGeneric

Trait TableGeneric 

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

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

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

Provided Associated Constants§

Source

const PAGE_SIZE: usize = 4_096usize

Source

const LEVEL: usize = 4usize

Source

const VALID_BITS: usize = _

Source

const MAX_BLOCK_LEVEL: usize = 3usize

Source

const TABLE_LEN: usize = _

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§