pub struct Ghcb;
Implementations§
Source§impl Ghcb
impl Ghcb
Sourcefn sev_vmgexit()
fn sev_vmgexit()
§Safety
Regardless of the content of the GHCB page or MSR, this instruction should not be able to cause memory safety issues.
pub fn change_page_visibility(range: MemoryRange, host_visible: bool)
Auto Trait Implementations§
impl Freeze for Ghcb
impl RefUnwindSafe for Ghcb
impl Send for Ghcb
impl Sync for Ghcb
impl Unpin for Ghcb
impl UnwindSafe for Ghcb
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more