Trait memory_x86_64::Module

pub trait Module {
    // Required methods
    fn name(&self) -> Result<&str, &'static str>;
    fn start(&self) -> PhysicalAddress;
    fn len(&self) -> usize;

    // Provided method
    fn is_empty(&self) -> bool { ... }
}

Required Methods§

fn name(&self) -> Result<&str, &'static str>

Returns the module’s name.

fn start(&self) -> PhysicalAddress

Returns the module’s starting physical address.

fn len(&self) -> usize

Returns the module’s length.

Provided Methods§

fn is_empty(&self) -> bool

Returns whether the module is empty.

Implementations on Foreign Types§

§

impl<'a> Module for &'a ModuleTag

§

fn name(&self) -> Result<&str, &'static str>

§

fn start(&self) -> PhysicalAddress

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

Implementors§