fidl_fuchsia_sysinfo

Trait SysInfoProxyInterface

Source
pub trait SysInfoProxyInterface: Send + Sync {
    type GetBoardNameResponseFut: Future<Output = Result<(i32, Option<String>), Error>> + Send;
    type GetBoardRevisionResponseFut: Future<Output = Result<(i32, u32), Error>> + Send;
    type GetBootloaderVendorResponseFut: Future<Output = Result<(i32, Option<String>), Error>> + Send;
    type GetInterruptControllerInfoResponseFut: Future<Output = Result<(i32, Option<Box<InterruptControllerInfo>>), Error>> + Send;
    type GetSerialNumberResponseFut: Future<Output = Result<SysInfoGetSerialNumberResult, Error>> + Send;

    // Required methods
    fn get_board_name(&self) -> Self::GetBoardNameResponseFut;
    fn get_board_revision(&self) -> Self::GetBoardRevisionResponseFut;
    fn get_bootloader_vendor(&self) -> Self::GetBootloaderVendorResponseFut;
    fn get_interrupt_controller_info(
        &self,
    ) -> Self::GetInterruptControllerInfoResponseFut;
    fn get_serial_number(&self) -> Self::GetSerialNumberResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§