pub enum ClangRuntimeFault {
Show 13 variants
InternalError(String),
InvalidPc(VAddr),
InvalidSnapshotId(SnapshotId),
InvalidEventChannel(usize, usize),
MemoryReadError(VAddr, usize),
MemoryWriteError(VAddr, usize),
DivisionByZero,
MemoryManagementError(String),
HeapError(HeapError),
LinuxError(LinuxError),
Timeout,
End,
IntegerOverflow(u64, u64),
}Expand description
This type shows all errors that can occur during runtime
Variants§
InternalError(String)
InvalidPc(VAddr)
InvalidSnapshotId(SnapshotId)
InvalidEventChannel(usize, usize)
MemoryReadError(VAddr, usize)
MemoryWriteError(VAddr, usize)
DivisionByZero
MemoryManagementError(String)
HeapError(HeapError)
LinuxError(LinuxError)
Timeout
End
IntegerOverflow(u64, u64)
Trait Implementations§
Source§impl Clone for ClangRuntimeFault
impl Clone for ClangRuntimeFault
Source§fn clone(&self) -> ClangRuntimeFault
fn clone(&self) -> ClangRuntimeFault
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClangRuntimeFault
impl Debug for ClangRuntimeFault
Source§impl Display for ClangRuntimeFault
impl Display for ClangRuntimeFault
Source§impl Error for ClangRuntimeFault
impl Error for ClangRuntimeFault
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<HeapError> for ClangRuntimeFault
impl From<HeapError> for ClangRuntimeFault
Source§impl From<LinuxError> for ClangRuntimeFault
impl From<LinuxError> for ClangRuntimeFault
Source§fn from(source: LinuxError) -> Self
fn from(source: LinuxError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClangRuntimeFault
impl RefUnwindSafe for ClangRuntimeFault
impl Send for ClangRuntimeFault
impl Sync for ClangRuntimeFault
impl Unpin for ClangRuntimeFault
impl UnsafeUnpin for ClangRuntimeFault
impl UnwindSafe for ClangRuntimeFault
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