Enum simics_api_sys::sim_exception
source · #[repr(u32)]pub enum sim_exception {
Show 19 variants
SimExc_No_Exception = 0,
SimExc_General = 1,
SimExc_Lookup = 2,
SimExc_Attribute = 3,
SimExc_IOError = 4,
SimExc_Index = 5,
SimExc_Memory = 6,
SimExc_Type = 7,
SimExc_Break = 8,
SimExc_PythonTranslation = 9,
SimExc_License = 10,
SimExc_IllegalValue = 11,
SimExc_InquiryOutsideMemory = 12,
SimExc_InquiryUnhandled = 13,
SimExc_InterfaceNotFound = 14,
SimExc_AttrNotFound = 15,
SimExc_AttrNotReadable = 16,
SimExc_AttrNotWritable = 17,
Sim_Exceptions = 18,
}
Variants§
SimExc_No_Exception = 0
SimExc_General = 1
SimExc_Lookup = 2
SimExc_Attribute = 3
SimExc_IOError = 4
SimExc_Index = 5
SimExc_Memory = 6
SimExc_Type = 7
SimExc_Break = 8
SimExc_PythonTranslation = 9
SimExc_License = 10
SimExc_IllegalValue = 11
SimExc_InquiryOutsideMemory = 12
SimExc_InquiryUnhandled = 13
SimExc_InterfaceNotFound = 14
SimExc_AttrNotFound = 15
SimExc_AttrNotReadable = 16
SimExc_AttrNotWritable = 17
Sim_Exceptions = 18
Trait Implementations§
source§impl Clone for sim_exception
impl Clone for sim_exception
source§fn clone(&self) -> sim_exception
fn clone(&self) -> sim_exception
Returns a copy 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 sim_exception
impl Debug for sim_exception
source§impl Hash for sim_exception
impl Hash for sim_exception
source§impl Ord for sim_exception
impl Ord for sim_exception
source§fn cmp(&self, other: &sim_exception) -> Ordering
fn cmp(&self, other: &sim_exception) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for sim_exception
impl PartialEq for sim_exception
source§impl PartialOrd for sim_exception
impl PartialOrd for sim_exception
impl Copy for sim_exception
impl Eq for sim_exception
impl StructuralPartialEq for sim_exception
Auto Trait Implementations§
impl Freeze for sim_exception
impl RefUnwindSafe for sim_exception
impl Send for sim_exception
impl Sync for sim_exception
impl Unpin for sim_exception
impl UnwindSafe for sim_exception
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)