Struct simics::api::interface::interfaces::DirectMemoryUpdateInterface
source · pub struct DirectMemoryUpdateInterface {
obj: *mut ConfObject,
interface: *mut direct_memory_update_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut direct_memory_update_interface
Implementations§
source§impl DirectMemoryUpdateInterface
impl DirectMemoryUpdateInterface
sourcepub fn release(
&mut self,
target: *mut conf_object_t,
handle: direct_memory_handle_t,
id: direct_memory_ack_id_t,
) -> Result<()>
pub fn release( &mut self, target: *mut conf_object_t, handle: direct_memory_handle_t, id: direct_memory_ack_id_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn update_permission(
&mut self,
target: *mut conf_object_t,
handle: direct_memory_handle_t,
lost_access: access_t,
lost_permission: access_t,
lost_inhibit: access_t,
id: direct_memory_ack_id_t,
) -> Result<()>
pub fn update_permission( &mut self, target: *mut conf_object_t, handle: direct_memory_handle_t, lost_access: access_t, lost_permission: access_t, lost_inhibit: access_t, id: direct_memory_ack_id_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn conflicting_access(
&mut self,
target: *mut conf_object_t,
handle: direct_memory_handle_t,
conflicting_permission: access_t,
id: direct_memory_ack_id_t,
) -> Result<()>
pub fn conflicting_access( &mut self, target: *mut conf_object_t, handle: direct_memory_handle_t, conflicting_permission: access_t, id: direct_memory_ack_id_t, ) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for DirectMemoryUpdateInterface
impl Interface for DirectMemoryUpdateInterface
source§const NAME: &'static [u8] = crate::api::sys::DIRECT_MEMORY_UPDATE_INTERFACE
const NAME: &'static [u8] = crate::api::sys::DIRECT_MEMORY_UPDATE_INTERFACE
The name of the interface
source§type InternalInterface = direct_memory_update_interface
type InternalInterface = direct_memory_update_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 DirectMemoryUpdateInterface
impl RefUnwindSafe for DirectMemoryUpdateInterface
impl !Send for DirectMemoryUpdateInterface
impl !Sync for DirectMemoryUpdateInterface
impl Unpin for DirectMemoryUpdateInterface
impl UnwindSafe for DirectMemoryUpdateInterface
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