Struct simics::api::interface::interfaces::X86ExceptionQueryInterface
source · pub struct X86ExceptionQueryInterface {
obj: *mut ConfObject,
interface: *mut x86_exception_query_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut x86_exception_query_interface
Implementations§
source§impl X86ExceptionQueryInterface
impl X86ExceptionQueryInterface
sourcepub fn vector(&mut self, handle: *mut exception_handle_t) -> Result<uint8>
pub fn vector(&mut self, handle: *mut exception_handle_t) -> Result<uint8>
Automatically generated method for the interface
sourcepub fn source(
&mut self,
handle: *mut exception_handle_t,
) -> Result<x86_exception_source_t>
pub fn source( &mut self, handle: *mut exception_handle_t, ) -> Result<x86_exception_source_t>
Automatically generated method for the interface
sourcepub fn error_code(&mut self, handle: *mut exception_handle_t) -> Result<uint32>
pub fn error_code(&mut self, handle: *mut exception_handle_t) -> Result<uint32>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for X86ExceptionQueryInterface
impl Interface for X86ExceptionQueryInterface
source§const NAME: &'static [u8] = crate::api::sys::X86_EXCEPTION_QUERY_INTERFACE
const NAME: &'static [u8] = crate::api::sys::X86_EXCEPTION_QUERY_INTERFACE
The name of the interface
source§type InternalInterface = x86_exception_query_interface
type InternalInterface = x86_exception_query_interface
The inner interface type, which is a struct of nullable extern “C” function pointers
and must be default constructable as all NULL pointers (i.e. None values)
source§type Name = &'static [u8]
type Name = &'static [u8]
The type of the name of the interface, must be convertible to raw C string to pass to
the simulator
source§fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
Create a new instance of this interface
Auto Trait Implementations§
impl Freeze for X86ExceptionQueryInterface
impl RefUnwindSafe for X86ExceptionQueryInterface
impl !Send for X86ExceptionQueryInterface
impl !Sync for X86ExceptionQueryInterface
impl Unpin for X86ExceptionQueryInterface
impl UnwindSafe for X86ExceptionQueryInterface
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