pub struct SmmInstrumentationSubscribeInterface {
obj: *mut ConfObject,
interface: *mut smm_instrumentation_subscribe_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut smm_instrumentation_subscribe_interface
Implementations§
source§impl SmmInstrumentationSubscribeInterface
impl SmmInstrumentationSubscribeInterface
sourcepub fn register_smm_enter_before_cb(
&mut self,
connection: *mut conf_object_t,
cb: smm_switch_cb_t,
user_data: *mut lang_void,
) -> Result<*mut cpu_cb_handle_t>
pub fn register_smm_enter_before_cb( &mut self, connection: *mut conf_object_t, cb: smm_switch_cb_t, user_data: *mut lang_void, ) -> Result<*mut cpu_cb_handle_t>
Automatically generated method for the interface
sourcepub fn register_smm_enter_after_cb(
&mut self,
connection: *mut conf_object_t,
cb: smm_switch_cb_t,
user_data: *mut lang_void,
) -> Result<*mut cpu_cb_handle_t>
pub fn register_smm_enter_after_cb( &mut self, connection: *mut conf_object_t, cb: smm_switch_cb_t, user_data: *mut lang_void, ) -> Result<*mut cpu_cb_handle_t>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for SmmInstrumentationSubscribeInterface
impl Interface for SmmInstrumentationSubscribeInterface
source§const NAME: &'static [u8] = crate::api::sys::SMM_INSTRUMENTATION_SUBSCRIBE_INTERFACE
const NAME: &'static [u8] = crate::api::sys::SMM_INSTRUMENTATION_SUBSCRIBE_INTERFACE
The name of the interface
source§type InternalInterface = smm_instrumentation_subscribe_interface
type InternalInterface = smm_instrumentation_subscribe_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 SmmInstrumentationSubscribeInterface
impl RefUnwindSafe for SmmInstrumentationSubscribeInterface
impl !Send for SmmInstrumentationSubscribeInterface
impl !Sync for SmmInstrumentationSubscribeInterface
impl Unpin for SmmInstrumentationSubscribeInterface
impl UnwindSafe for SmmInstrumentationSubscribeInterface
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