#[repr(transparent)]pub struct EptPde(_);
Implementations§
source§impl EptPde
impl EptPde
sourcepub const fn flags(&self) -> EptPdeFlags
pub const fn flags(&self) -> EptPdeFlags
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: EptPdeFlags) -> &mut Self
pub fn set_perm(&mut self, perm: EptPdeFlags) -> &mut Self
Set a permission of this entry.
sourcepub fn into_ept_pt_mut(&mut self) -> Result<&mut [EptPte], EptMappingError>
pub fn into_ept_pt_mut(&mut self) -> Result<&mut [EptPte], EptMappingError>
Get a mutable reference of page table pointed by this entry.
sourcepub fn into_ept_pt(&self) -> Result<&[EptPte], EptMappingError>
pub fn into_ept_pt(&self) -> Result<&[EptPte], EptMappingError>
Get a reference of page table pointed by this entry.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EptPde
impl Send for EptPde
impl Sync for EptPde
impl Unpin for EptPde
impl UnwindSafe for EptPde
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