Struct simics::api::interface::interfaces::CpuInstrumentationStreamInterface
source · pub struct CpuInstrumentationStreamInterface {
obj: *mut ConfObject,
interface: *mut cpu_instrumentation_stream_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut cpu_instrumentation_stream_interface
Implementations§
source§impl CpuInstrumentationStreamInterface
impl CpuInstrumentationStreamInterface
sourcepub fn add_stream(
&mut self,
connection: *mut conf_object_t,
bits: cpu_stream_bits_t,
data: *mut *mut cpu_stream_data_t,
scope: cpu_access_scope_t,
) -> Result<*mut cpu_stream_handle_t>
pub fn add_stream( &mut self, connection: *mut conf_object_t, bits: cpu_stream_bits_t, data: *mut *mut cpu_stream_data_t, scope: cpu_access_scope_t, ) -> Result<*mut cpu_stream_handle_t>
Automatically generated method for the interface
sourcepub fn remove_stream(&mut self, handle: *mut cpu_stream_handle_t) -> Result<()>
pub fn remove_stream(&mut self, handle: *mut cpu_stream_handle_t) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for CpuInstrumentationStreamInterface
impl Interface for CpuInstrumentationStreamInterface
source§const NAME: &'static [u8] = crate::api::sys::CPU_INSTRUMENTATION_STREAM_INTERFACE
const NAME: &'static [u8] = crate::api::sys::CPU_INSTRUMENTATION_STREAM_INTERFACE
The name of the interface
source§type InternalInterface = cpu_instrumentation_stream_interface
type InternalInterface = cpu_instrumentation_stream_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 CpuInstrumentationStreamInterface
impl RefUnwindSafe for CpuInstrumentationStreamInterface
impl !Send for CpuInstrumentationStreamInterface
impl !Sync for CpuInstrumentationStreamInterface
impl Unpin for CpuInstrumentationStreamInterface
impl UnwindSafe for CpuInstrumentationStreamInterface
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