pub struct EmuTranslateError {
pub code: TranslateGvaResultCode,
pub event_info: Option<EsrEl2>,
}
Expand description
Error for a failed gva translation from EmulatorSupport
.
Fields§
§code: TranslateGvaResultCode
Translate code of type hvdef::hypercall::TranslateGvaResultCode Should != Success
event_info: Option<EsrEl2>
Pending event, if any, returned by hypervisor to go with the translate code.
Trait Implementations§
Source§impl Debug for EmuTranslateError
impl Debug for EmuTranslateError
Source§impl Display for EmuTranslateError
impl Display for EmuTranslateError
Source§impl Error for EmuTranslateError
impl Error for EmuTranslateError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for EmuTranslateError
impl RefUnwindSafe for EmuTranslateError
impl Send for EmuTranslateError
impl Sync for EmuTranslateError
impl Unpin for EmuTranslateError
impl UnwindSafe for EmuTranslateError
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