Trait DeviceProxyInterface
Source pub trait DeviceProxyInterface: Send + Sync {
type GetMmioByIdResponseFut: Future<Output = Result<DeviceGetMmioByIdResult, Error>> + Send;
type GetMmioByNameResponseFut: Future<Output = Result<DeviceGetMmioByNameResult, Error>> + Send;
type GetInterruptByIdResponseFut: Future<Output = Result<DeviceGetInterruptByIdResult, Error>> + Send;
type GetInterruptByNameResponseFut: Future<Output = Result<DeviceGetInterruptByNameResult, Error>> + Send;
type GetBtiByIdResponseFut: Future<Output = Result<DeviceGetBtiByIdResult, Error>> + Send;
type GetBtiByNameResponseFut: Future<Output = Result<DeviceGetBtiByNameResult, Error>> + Send;
type GetSmcByIdResponseFut: Future<Output = Result<DeviceGetSmcByIdResult, Error>> + Send;
type GetSmcByNameResponseFut: Future<Output = Result<DeviceGetSmcByNameResult, Error>> + Send;
type GetPowerConfigurationResponseFut: Future<Output = Result<DeviceGetPowerConfigurationResult, Error>> + Send;
type GetNodeDeviceInfoResponseFut: Future<Output = Result<DeviceGetNodeDeviceInfoResult, Error>> + Send;
type GetBoardInfoResponseFut: Future<Output = Result<DeviceGetBoardInfoResult, Error>> + Send;
type GetMetadataResponseFut: Future<Output = Result<DeviceGetMetadataResult, Error>> + Send;
// Required methods
fn get_mmio_by_id(&self, index: u32) -> Self::GetMmioByIdResponseFut;
fn get_mmio_by_name(&self, name: &str) -> Self::GetMmioByNameResponseFut;
fn get_interrupt_by_id(
&self,
index: u32,
flags: u32,
) -> Self::GetInterruptByIdResponseFut;
fn get_interrupt_by_name(
&self,
name: &str,
flags: u32,
) -> Self::GetInterruptByNameResponseFut;
fn get_bti_by_id(&self, index: u32) -> Self::GetBtiByIdResponseFut;
fn get_bti_by_name(&self, name: &str) -> Self::GetBtiByNameResponseFut;
fn get_smc_by_id(&self, index: u32) -> Self::GetSmcByIdResponseFut;
fn get_smc_by_name(&self, name: &str) -> Self::GetSmcByNameResponseFut;
fn get_power_configuration(&self) -> Self::GetPowerConfigurationResponseFut;
fn get_node_device_info(&self) -> Self::GetNodeDeviceInfoResponseFut;
fn get_board_info(&self) -> Self::GetBoardInfoResponseFut;
fn get_metadata(&self, id: &str) -> Self::GetMetadataResponseFut;
}