pub struct GuestError {
pub code: ErrorCode,
pub message: String,
}
Expand description
GuestError
represents an error that occurred in the Hyperlight Guest.
Fields§
§code: ErrorCode
The error code.
message: String
The error message.
Implementations§
Trait Implementations§
Source§impl Clone for GuestError
impl Clone for GuestError
Source§fn clone(&self) -> GuestError
fn clone(&self) -> GuestError
Returns a duplicate 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 GuestError
impl Debug for GuestError
Source§impl Default for GuestError
impl Default for GuestError
Source§impl TryFrom<&[u8]> for GuestError
impl TryFrom<&[u8]> for GuestError
Auto Trait Implementations§
impl Freeze for GuestError
impl RefUnwindSafe for GuestError
impl Send for GuestError
impl Sync for GuestError
impl Unpin for GuestError
impl UnwindSafe for GuestError
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