Struct simics::api::interface::interfaces::ComponentConnectorInterface
source · pub struct ComponentConnectorInterface {
obj: *mut ConfObject,
interface: *mut component_connector_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut component_connector_interface
Implementations§
source§impl ComponentConnectorInterface
impl ComponentConnectorInterface
sourcepub fn get_check_data(
&mut self,
connector: *mut conf_object_t,
) -> Result<AttrValue>
pub fn get_check_data( &mut self, connector: *mut conf_object_t, ) -> Result<AttrValue>
Automatically generated method for the interface
sourcepub fn get_connect_data(
&mut self,
connector: *mut conf_object_t,
) -> Result<AttrValue>
pub fn get_connect_data( &mut self, connector: *mut conf_object_t, ) -> Result<AttrValue>
Automatically generated method for the interface
sourcepub fn check(
&mut self,
connector: *mut conf_object_t,
attr: attr_value_t,
) -> Result<bool>
pub fn check( &mut self, connector: *mut conf_object_t, attr: attr_value_t, ) -> Result<bool>
Automatically generated method for the interface
sourcepub fn connect(
&mut self,
connector: *mut conf_object_t,
attr: attr_value_t,
) -> Result<()>
pub fn connect( &mut self, connector: *mut conf_object_t, attr: attr_value_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn disconnect(&mut self, connector: *mut conf_object_t) -> Result<()>
pub fn disconnect(&mut self, connector: *mut conf_object_t) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for ComponentConnectorInterface
impl Interface for ComponentConnectorInterface
source§const NAME: &'static [u8] = crate::api::sys::COMPONENT_CONNECTOR_INTERFACE
const NAME: &'static [u8] = crate::api::sys::COMPONENT_CONNECTOR_INTERFACE
The name of the interface
source§type InternalInterface = component_connector_interface
type InternalInterface = component_connector_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 ComponentConnectorInterface
impl RefUnwindSafe for ComponentConnectorInterface
impl !Send for ComponentConnectorInterface
impl !Sync for ComponentConnectorInterface
impl Unpin for ComponentConnectorInterface
impl UnwindSafe for ComponentConnectorInterface
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