Struct simics_api_sys::connector_interface
source · #[repr(C)]pub struct connector_interface {Show 13 fields
pub type_: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> *mut c_char>,
pub hotpluggable: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>,
pub required: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>,
pub multi: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>,
pub direction: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> connector_direction_t>,
pub add_destination: Option<unsafe extern "C" fn(obj: *mut conf_object_t, connector: *mut conf_object_t) -> bool>,
pub remove_destination: Option<unsafe extern "C" fn(obj: *mut conf_object_t, connector: *mut conf_object_t) -> bool>,
pub destination: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> attr_value_t>,
pub update: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
pub check: Option<unsafe extern "C" fn(obj: *mut conf_object_t, attr: attr_value_t) -> bool>,
pub connect: Option<unsafe extern "C" fn(obj: *mut conf_object_t, attr: attr_value_t)>,
pub disconnect: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
pub deletion_requested: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>,
}
Fields§
§type_: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> *mut c_char>
§hotpluggable: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>
§required: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>
§multi: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>
§direction: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> connector_direction_t>
§add_destination: Option<unsafe extern "C" fn(obj: *mut conf_object_t, connector: *mut conf_object_t) -> bool>
§remove_destination: Option<unsafe extern "C" fn(obj: *mut conf_object_t, connector: *mut conf_object_t) -> bool>
§destination: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> attr_value_t>
list of connector objects
update: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
§check: Option<unsafe extern "C" fn(obj: *mut conf_object_t, attr: attr_value_t) -> bool>
§connect: Option<unsafe extern "C" fn(obj: *mut conf_object_t, attr: attr_value_t)>
§disconnect: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
§deletion_requested: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>
Trait Implementations§
source§impl Clone for connector_interface
impl Clone for connector_interface
source§fn clone(&self) -> connector_interface
fn clone(&self) -> connector_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 connector_interface
impl Debug for connector_interface
source§impl Default for connector_interface
impl Default for connector_interface
source§fn default() -> connector_interface
fn default() -> connector_interface
Returns the “default value” for a type. Read more
source§impl Hash for connector_interface
impl Hash for connector_interface
source§impl Ord for connector_interface
impl Ord for connector_interface
source§fn cmp(&self, other: &connector_interface) -> Ordering
fn cmp(&self, other: &connector_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 connector_interface
impl PartialEq for connector_interface
source§impl PartialOrd for connector_interface
impl PartialOrd for connector_interface
impl Copy for connector_interface
impl Eq for connector_interface
impl StructuralPartialEq for connector_interface
Auto Trait Implementations§
impl Freeze for connector_interface
impl RefUnwindSafe for connector_interface
impl Send for connector_interface
impl Sync for connector_interface
impl Unpin for connector_interface
impl UnwindSafe for connector_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
)