pub enum DiagnosticsError {
EntryParse(EntryParseError),
HeaderSignatureMismatch(u32, u32),
HeaderBufferSize(u32, u32),
BadGpa(u32),
NoGpa,
GuestMemoryRead(GuestMemoryError),
Overflow(&'static str),
BadUsedBufferSize(u32, u32),
BadAccumulatedMessageLength(u16, u16),
}
Expand description
Errors that occur during processing
Variants§
EntryParse(EntryParseError)
HeaderSignatureMismatch(u32, u32)
HeaderBufferSize(u32, u32)
BadGpa(u32)
NoGpa
GuestMemoryRead(GuestMemoryError)
Overflow(&'static str)
BadUsedBufferSize(u32, u32)
BadAccumulatedMessageLength(u16, u16)
Trait Implementations§
Source§impl Debug for DiagnosticsError
impl Debug for DiagnosticsError
Source§impl Display for DiagnosticsError
impl Display for DiagnosticsError
Source§impl Error for DiagnosticsError
impl Error for DiagnosticsError
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()
Source§impl From<EntryParseError> for DiagnosticsError
impl From<EntryParseError> for DiagnosticsError
Source§fn from(source: EntryParseError) -> Self
fn from(source: EntryParseError) -> Self
Converts to this type from the input type.
Source§impl From<GuestMemoryError> for DiagnosticsError
impl From<GuestMemoryError> for DiagnosticsError
Source§fn from(source: GuestMemoryError) -> Self
fn from(source: GuestMemoryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DiagnosticsError
impl !RefUnwindSafe for DiagnosticsError
impl Send for DiagnosticsError
impl Sync for DiagnosticsError
impl Unpin for DiagnosticsError
impl !UnwindSafe for DiagnosticsError
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