Struct simics::api::interface::interfaces::TelemetryInterface
source · pub struct TelemetryInterface {
obj: *mut ConfObject,
interface: *mut telemetry_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut telemetry_interface
Implementations§
source§impl TelemetryInterface
impl TelemetryInterface
sourcepub fn get_telemetry_class_id(
&mut self,
telemetry_class_name: *const c_char,
) -> Result<telemetry_class_id_t>
pub fn get_telemetry_class_id( &mut self, telemetry_class_name: *const c_char, ) -> Result<telemetry_class_id_t>
Automatically generated method for the interface
sourcepub fn get_telemetry_class_name(
&mut self,
telemetry_class_id: telemetry_class_id_t,
) -> Result<*const c_char>
pub fn get_telemetry_class_name( &mut self, telemetry_class_id: telemetry_class_id_t, ) -> Result<*const c_char>
Automatically generated method for the interface
sourcepub fn get_telemetry_class_description(
&mut self,
telemetry_class_id: telemetry_class_id_t,
) -> Result<*const c_char>
pub fn get_telemetry_class_description( &mut self, telemetry_class_id: telemetry_class_id_t, ) -> Result<*const c_char>
Automatically generated method for the interface
sourcepub fn get_telemetry_id(
&mut self,
telemetry_class_id: telemetry_class_id_t,
telemetry_name: *const c_char,
) -> Result<telemetry_id_t>
pub fn get_telemetry_id( &mut self, telemetry_class_id: telemetry_class_id_t, telemetry_name: *const c_char, ) -> Result<telemetry_id_t>
Automatically generated method for the interface
sourcepub fn get_telemetry_name(
&mut self,
telemetry_class_id: telemetry_class_id_t,
telemetry_id: telemetry_id_t,
) -> Result<*const c_char>
pub fn get_telemetry_name( &mut self, telemetry_class_id: telemetry_class_id_t, telemetry_id: telemetry_id_t, ) -> Result<*const c_char>
Automatically generated method for the interface
sourcepub fn get_telemetry_description(
&mut self,
telemetry_class_id: telemetry_class_id_t,
telemetry_id: telemetry_id_t,
) -> Result<*const c_char>
pub fn get_telemetry_description( &mut self, telemetry_class_id: telemetry_class_id_t, telemetry_id: telemetry_id_t, ) -> Result<*const c_char>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for TelemetryInterface
impl Interface for TelemetryInterface
source§type InternalInterface = telemetry_interface
type InternalInterface = telemetry_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 TelemetryInterface
impl RefUnwindSafe for TelemetryInterface
impl !Send for TelemetryInterface
impl !Sync for TelemetryInterface
impl Unpin for TelemetryInterface
impl UnwindSafe for TelemetryInterface
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