Struct simics_api_sys::exception_interface
source · #[repr(C)]pub struct exception_interface {
pub get_number: Option<unsafe extern "C" fn(obj: *mut conf_object_t, name: *const c_char) -> c_int>,
pub get_name: Option<unsafe extern "C" fn(obj: *mut conf_object_t, exc: c_int) -> *const c_char>,
pub get_source: Option<unsafe extern "C" fn(obj: *mut conf_object_t, exc: c_int) -> c_int>,
pub all_exceptions: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> attr_value_t>,
}
Fields§
§get_number: Option<unsafe extern "C" fn(obj: *mut conf_object_t, name: *const c_char) -> c_int>
§get_name: Option<unsafe extern "C" fn(obj: *mut conf_object_t, exc: c_int) -> *const c_char>
§get_source: Option<unsafe extern "C" fn(obj: *mut conf_object_t, exc: c_int) -> c_int>
§all_exceptions: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> attr_value_t>
Trait Implementations§
source§impl Clone for exception_interface
impl Clone for exception_interface
source§fn clone(&self) -> exception_interface
fn clone(&self) -> exception_interface
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 exception_interface
impl Debug for exception_interface
source§impl Default for exception_interface
impl Default for exception_interface
source§fn default() -> exception_interface
fn default() -> exception_interface
Returns the “default value” for a type. Read more
source§impl Hash for exception_interface
impl Hash for exception_interface
source§impl Ord for exception_interface
impl Ord for exception_interface
source§fn cmp(&self, other: &exception_interface) -> Ordering
fn cmp(&self, other: &exception_interface) -> 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 exception_interface
impl PartialEq for exception_interface
source§impl PartialOrd for exception_interface
impl PartialOrd for exception_interface
impl Copy for exception_interface
impl Eq for exception_interface
impl StructuralPartialEq for exception_interface
Auto Trait Implementations§
impl Freeze for exception_interface
impl RefUnwindSafe for exception_interface
impl Send for exception_interface
impl Sync for exception_interface
impl Unpin for exception_interface
impl UnwindSafe for exception_interface
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
)