Struct hvdef::GuestCrashCtl
source · pub struct GuestCrashCtl(/* private fields */);
Expand description
The contents of HV_X64_MSR_GUEST_CRASH_CTL
Implementations§
source§impl GuestCrashCtl
impl GuestCrashCtl
sourcepub const fn with_pre_os_id(self, value: u8) -> Self
pub const fn with_pre_os_id(self, value: u8) -> Self
Bits: 58..61
sourcepub fn set_pre_os_id(&mut self, value: u8)
pub fn set_pre_os_id(&mut self, value: u8)
Bits: 58..61
sourcepub const fn no_crash_dump(&self) -> bool
pub const fn no_crash_dump(&self) -> bool
Bits: 61..62
sourcepub const fn with_no_crash_dump(self, value: bool) -> Self
pub const fn with_no_crash_dump(self, value: bool) -> Self
Bits: 61..62
sourcepub fn set_no_crash_dump(&mut self, value: bool)
pub fn set_no_crash_dump(&mut self, value: bool)
Bits: 61..62
sourcepub const fn crash_message(&self) -> bool
pub const fn crash_message(&self) -> bool
Bits: 62..63
sourcepub const fn with_crash_message(self, value: bool) -> Self
pub const fn with_crash_message(self, value: bool) -> Self
Bits: 62..63
sourcepub fn set_crash_message(&mut self, value: bool)
pub fn set_crash_message(&mut self, value: bool)
Bits: 62..63
sourcepub const fn crash_notify(&self) -> bool
pub const fn crash_notify(&self) -> bool
Bits: 63..64
sourcepub const fn with_crash_notify(self, value: bool) -> Self
pub const fn with_crash_notify(self, value: bool) -> Self
Bits: 63..64
sourcepub fn set_crash_notify(&mut self, value: bool)
pub fn set_crash_notify(&mut self, value: bool)
Bits: 63..64
Trait Implementations§
source§impl Clone for GuestCrashCtl
impl Clone for GuestCrashCtl
source§fn clone(&self) -> GuestCrashCtl
fn clone(&self) -> GuestCrashCtl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GuestCrashCtl
impl Debug for GuestCrashCtl
source§impl Default for GuestCrashCtl
impl Default for GuestCrashCtl
source§impl From<GuestCrashCtl> for u64
impl From<GuestCrashCtl> for u64
source§fn from(v: GuestCrashCtl) -> u64
fn from(v: GuestCrashCtl) -> u64
Converts to this type from the input type.
source§impl From<u64> for GuestCrashCtl
impl From<u64> for GuestCrashCtl
impl Copy for GuestCrashCtl
Auto Trait Implementations§
impl Freeze for GuestCrashCtl
impl RefUnwindSafe for GuestCrashCtl
impl Send for GuestCrashCtl
impl Sync for GuestCrashCtl
impl Unpin for GuestCrashCtl
impl UnwindSafe for GuestCrashCtl
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)