pub enum MsrError {
Unknown,
InvalidAccess,
}
Expand description
Error returned by MSR routines.
Variants§
Unknown
The MSR is not implemented. Depending on the configuration, this should either be ignored (returning 0 for reads) or should result in a #GP.
InvalidAccess
The MSR is implemented but this is an invalid read or write and should always result in a #GP.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MsrError
impl RefUnwindSafe for MsrError
impl Send for MsrError
impl Sync for MsrError
impl Unpin for MsrError
impl UnwindSafe for MsrError
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