[][src]Struct sunrise_kernel::paging::arch::i386::table::InactivePageDirectory

pub struct InactivePageDirectory(Table);

A currently inactive page directory.

A Table with associated functions. Must be temporarily mapped to be read and modified.

Gets its children InactivePageTable by temporarily mapping them.

See SmartHierarchicalTable.

Trait Implementations

impl Debug for InactivePageDirectory[src]

impl Drop for InactivePageDirectory[src]

fn drop(&mut self)[src]

When the temporary inactive directory is drop, we unmap it.

impl HierarchicalTable for InactivePageDirectory[src]

type EntryType = I386Entry

The Entry our table has

type CacheFlusherType = NoFlush

A Flusher that should be called on table modifications

type ChildTableType = InactivePageTable

If we're a parent table, the type of our child tables. If we're not a parent, this type will never be used and you can set it to Self. Read more

fn get_child_table(
    &mut self,
    index: usize
) -> PageState<SmartHierarchicalTable<InactivePageTable>>
[src]

Gets the child InactivePageTable at the given index. Temporarily maps it if it is present.

fn create_child_table(
    &mut self,
    index: usize
) -> SmartHierarchicalTable<InactivePageTable>
[src]

Creates a child InactivePageTable at the given index, temporarily maps it, and returns it.

Panics

Panics if the entry was not available.

Auto Trait Implementations

impl RefUnwindSafe for InactivePageDirectory

impl Send for InactivePageDirectory

impl Sync for InactivePageDirectory

impl Unpin for InactivePageDirectory

impl UnwindSafe for InactivePageDirectory

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.