pub trait Impl {
// Required methods
fn map(addr: NonNull<u8>, size: usize, direction: Direction) -> u64;
fn unmap(addr: NonNull<u8>, size: usize);
fn flush(addr: NonNull<u8>, size: usize);
fn invalidate(addr: NonNull<u8>, size: usize);
}
Required Methods§
Sourcefn map(addr: NonNull<u8>, size: usize, direction: Direction) -> u64
fn map(addr: NonNull<u8>, size: usize, direction: Direction) -> u64
map virt address to physical address
Sourcefn invalidate(addr: NonNull<u8>, size: usize)
fn invalidate(addr: NonNull<u8>, size: usize)
invalidate cache
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.