pub struct BankInstrumentationSubscribeInterface {
obj: *mut ConfObject,
interface: *mut bank_instrumentation_subscribe_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut bank_instrumentation_subscribe_interface
Implementations§
source§impl BankInstrumentationSubscribeInterface
impl BankInstrumentationSubscribeInterface
sourcepub fn register_before_read(
&mut self,
connection: *mut conf_object_t,
offset: uint64,
size: uint64,
before_read: before_read_callback_t,
user_data: *mut lang_void,
) -> Result<bank_callback_handle_t>
pub fn register_before_read( &mut self, connection: *mut conf_object_t, offset: uint64, size: uint64, before_read: before_read_callback_t, user_data: *mut lang_void, ) -> Result<bank_callback_handle_t>
Automatically generated method for the interface
sourcepub fn register_after_read(
&mut self,
connection: *mut conf_object_t,
offset: uint64,
size: uint64,
after_read: after_read_callback_t,
user_data: *mut lang_void,
) -> Result<bank_callback_handle_t>
pub fn register_after_read( &mut self, connection: *mut conf_object_t, offset: uint64, size: uint64, after_read: after_read_callback_t, user_data: *mut lang_void, ) -> Result<bank_callback_handle_t>
Automatically generated method for the interface
sourcepub fn register_before_write(
&mut self,
connection: *mut conf_object_t,
offset: uint64,
size: uint64,
before_write: before_write_callback_t,
user_data: *mut lang_void,
) -> Result<bank_callback_handle_t>
pub fn register_before_write( &mut self, connection: *mut conf_object_t, offset: uint64, size: uint64, before_write: before_write_callback_t, user_data: *mut lang_void, ) -> Result<bank_callback_handle_t>
Automatically generated method for the interface
sourcepub fn register_after_write(
&mut self,
connection: *mut conf_object_t,
offset: uint64,
size: uint64,
after_write: after_write_callback_t,
user_data: *mut lang_void,
) -> Result<bank_callback_handle_t>
pub fn register_after_write( &mut self, connection: *mut conf_object_t, offset: uint64, size: uint64, after_write: after_write_callback_t, user_data: *mut lang_void, ) -> Result<bank_callback_handle_t>
Automatically generated method for the interface
sourcepub fn remove_callback(
&mut self,
callback: bank_callback_handle_t,
) -> Result<()>
pub fn remove_callback( &mut self, callback: bank_callback_handle_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn remove_connection_callbacks(
&mut self,
connection: *mut conf_object_t,
) -> Result<()>
pub fn remove_connection_callbacks( &mut self, connection: *mut conf_object_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn enable_connection_callbacks(
&mut self,
connection: *mut conf_object_t,
) -> Result<()>
pub fn enable_connection_callbacks( &mut self, connection: *mut conf_object_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn disable_connection_callbacks(
&mut self,
connection: *mut conf_object_t,
) -> Result<()>
pub fn disable_connection_callbacks( &mut self, connection: *mut conf_object_t, ) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for BankInstrumentationSubscribeInterface
impl Interface for BankInstrumentationSubscribeInterface
source§const NAME: &'static [u8] = crate::api::sys::BANK_INSTRUMENTATION_SUBSCRIBE_INTERFACE
const NAME: &'static [u8] = crate::api::sys::BANK_INSTRUMENTATION_SUBSCRIBE_INTERFACE
The name of the interface
source§type InternalInterface = bank_instrumentation_subscribe_interface
type InternalInterface = bank_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 BankInstrumentationSubscribeInterface
impl RefUnwindSafe for BankInstrumentationSubscribeInterface
impl !Send for BankInstrumentationSubscribeInterface
impl !Sync for BankInstrumentationSubscribeInterface
impl Unpin for BankInstrumentationSubscribeInterface
impl UnwindSafe for BankInstrumentationSubscribeInterface
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