pub trait Hap {
type Name: AsRawCstr;
const NAME: Self::Name;
// Provided methods
fn delete_callback_id(handle: HapHandle) -> Result<()> { ... }
fn delete_callback_obj_id(
obj: *mut ConfObject,
handle: HapHandle,
) -> Result<()> { ... }
}
Expand description
A SIMICS Hap and the type of callbacks associated with it
Required Associated Constants§
Required Associated Types§
Provided Methods§
sourcefn delete_callback_id(handle: HapHandle) -> Result<()>
fn delete_callback_id(handle: HapHandle) -> Result<()>
A callback for a hap can be deleted by its handle
sourcefn delete_callback_obj_id(obj: *mut ConfObject, handle: HapHandle) -> Result<()>
fn delete_callback_obj_id(obj: *mut ConfObject, handle: HapHandle) -> Result<()>
A callback for a hap can be deleted by the object it is associated with
Object Safety§
This trait is not object safe.