Skip to main content

Ty

Trait Ty 

Source
pub trait Ty: Sealed {
    // Required methods
    fn allocator(&self) -> impl Deref<Target = dyn Vmm> + '_;
    fn map_contiguous(
        &self,
        base_page: RawPage,
        base_frame: RawFrame,
        count: usize,
        reason: Ty,
        protection: Protection,
        caching: Caching,
    ) -> Result<(), MapPageError>;
}
Available on crate feature full only.

Required Methods§

Source

fn allocator(&self) -> impl Deref<Target = dyn Vmm> + '_

Source

fn map_contiguous( &self, base_page: RawPage, base_frame: RawFrame, count: usize, reason: Ty, protection: Protection, caching: Caching, ) -> Result<(), MapPageError>

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§