Struct simics::api::interface::interfaces::FirewireDeviceInterface
source · pub struct FirewireDeviceInterface {
obj: *mut ConfObject,
interface: *mut firewire_device_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut firewire_device_interface
Implementations§
source§impl FirewireDeviceInterface
impl FirewireDeviceInterface
sourcepub fn transfer(
&mut self,
packet: *mut dbuffer_t,
crc_calculated: c_int,
) -> Result<firewire_ack_code_t>
pub fn transfer( &mut self, packet: *mut dbuffer_t, crc_calculated: c_int, ) -> Result<firewire_ack_code_t>
Automatically generated method for the interface
sourcepub fn reset(
&mut self,
id: uint16,
root_id: uint8,
self_ids: uint32_array_t,
) -> Result<()>
pub fn reset( &mut self, id: uint16, root_id: uint8, self_ids: uint32_array_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn get_self_id_template(&mut self) -> Result<uint32>
pub fn get_self_id_template(&mut self) -> Result<uint32>
Automatically generated method for the interface
sourcepub fn get_port_count(&mut self) -> Result<uint8>
pub fn get_port_count(&mut self) -> Result<uint8>
Automatically generated method for the interface
sourcepub fn get_port_mask(&mut self) -> Result<uint16>
pub fn get_port_mask(&mut self) -> Result<uint16>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for FirewireDeviceInterface
impl Interface for FirewireDeviceInterface
source§const NAME: &'static [u8] = crate::api::sys::FIREWIRE_DEVICE_INTERFACE
const NAME: &'static [u8] = crate::api::sys::FIREWIRE_DEVICE_INTERFACE
The name of the interface
source§type InternalInterface = firewire_device_interface
type InternalInterface = firewire_device_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 FirewireDeviceInterface
impl RefUnwindSafe for FirewireDeviceInterface
impl !Send for FirewireDeviceInterface
impl !Sync for FirewireDeviceInterface
impl Unpin for FirewireDeviceInterface
impl UnwindSafe for FirewireDeviceInterface
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