#[repr(transparent)]pub struct EptPml4e(_);
Implementations§
source§impl EptPml4e
impl EptPml4e
sourcepub const fn flags(&self) -> EptPml4eFlags
pub const fn flags(&self) -> EptPml4eFlags
Get a flags this entry.
sourcepub fn set_pa(&mut self, pa: Pa) -> Result<&mut Self, EptMappingError>
pub fn set_pa(&mut self, pa: Pa) -> Result<&mut Self, EptMappingError>
sourcepub fn set_perm(&mut self, perm: EptPml4eFlags) -> &mut Self
pub fn set_perm(&mut self, perm: EptPml4eFlags) -> &mut Self
Set a permission of this entry.
sourcepub fn into_ept_pdp_mut(&mut self) -> Result<&mut [EptPdpe], EptMappingError>
pub fn into_ept_pdp_mut(&mut self) -> Result<&mut [EptPdpe], EptMappingError>
Get a mutable reference of page directory pointer table pointed by this entry.
sourcepub fn into_ept_pdp(&self) -> Result<&[EptPdpe], EptMappingError>
pub fn into_ept_pdp(&self) -> Result<&[EptPdpe], EptMappingError>
Get a reference of page directory pointer table pointed by this entry.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EptPml4e
impl Send for EptPml4e
impl Sync for EptPml4e
impl Unpin for EptPml4e
impl UnwindSafe for EptPml4e
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more