Struct simics_api_sys::telemetry_interface
source · #[repr(C)]pub struct telemetry_interface {
pub get_telemetry_class_id: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_name: *const c_char) -> telemetry_class_id_t>,
pub get_telemetry_class_name: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_id: telemetry_class_id_t) -> *const c_char>,
pub get_telemetry_class_description: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_id: telemetry_class_id_t) -> *const c_char>,
pub get_telemetry_id: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_id: telemetry_class_id_t, telemetry_name: *const c_char) -> telemetry_id_t>,
pub get_telemetry_name: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_id: telemetry_class_id_t, telemetry_id: telemetry_id_t) -> *const c_char>,
pub get_telemetry_description: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_id: telemetry_class_id_t, telemetry_id: telemetry_id_t) -> *const c_char>,
pub get_value: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_id: telemetry_class_id_t, telemetry_id: telemetry_id_t) -> attr_value_t>,
}
Fields§
§get_telemetry_class_id: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_name: *const c_char) -> telemetry_class_id_t>
§get_telemetry_class_name: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_id: telemetry_class_id_t) -> *const c_char>
§get_telemetry_class_description: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_id: telemetry_class_id_t) -> *const c_char>
§get_telemetry_id: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_id: telemetry_class_id_t, telemetry_name: *const c_char) -> telemetry_id_t>
§get_telemetry_name: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_id: telemetry_class_id_t, telemetry_id: telemetry_id_t) -> *const c_char>
§get_telemetry_description: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_id: telemetry_class_id_t, telemetry_id: telemetry_id_t) -> *const c_char>
§get_value: Option<unsafe extern "C" fn(obj: *mut conf_object_t, telemetry_class_id: telemetry_class_id_t, telemetry_id: telemetry_id_t) -> attr_value_t>
Trait Implementations§
source§impl Clone for telemetry_interface
impl Clone for telemetry_interface
source§fn clone(&self) -> telemetry_interface
fn clone(&self) -> telemetry_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 telemetry_interface
impl Debug for telemetry_interface
source§impl Default for telemetry_interface
impl Default for telemetry_interface
source§fn default() -> telemetry_interface
fn default() -> telemetry_interface
Returns the “default value” for a type. Read more
source§impl Hash for telemetry_interface
impl Hash for telemetry_interface
source§impl Ord for telemetry_interface
impl Ord for telemetry_interface
source§fn cmp(&self, other: &telemetry_interface) -> Ordering
fn cmp(&self, other: &telemetry_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 telemetry_interface
impl PartialEq for telemetry_interface
source§impl PartialOrd for telemetry_interface
impl PartialOrd for telemetry_interface
impl Copy for telemetry_interface
impl Eq for telemetry_interface
impl StructuralPartialEq for telemetry_interface
Auto Trait Implementations§
impl Freeze for telemetry_interface
impl RefUnwindSafe for telemetry_interface
impl Send for telemetry_interface
impl Sync for telemetry_interface
impl Unpin for telemetry_interface
impl UnwindSafe for telemetry_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
)