fidl_fuchsia_gpu_magma

Trait TestDeviceProxyInterface

Source
pub trait TestDeviceProxyInterface: Send + Sync {
    type QueryResponseFut: Future<Output = Result<DeviceQueryResult, Error>> + Send;
    type GetIcdListResponseFut: Future<Output = Result<Vec<IcdInfo>, Error>> + Send;
    type GetUnitTestStatusResponseFut: Future<Output = Result<i32, Error>> + Send;

    // Required methods
    fn query(&self, query_id: QueryId) -> Self::QueryResponseFut;
    fn connect2(
        &self,
        client_id: u64,
        primary_channel: ServerEnd<PrimaryMarker>,
        notification_channel: ServerEnd<NotificationMarker>,
    ) -> Result<(), Error>;
    fn dump_state(&self, dump_type: u32) -> Result<(), Error>;
    fn get_icd_list(&self) -> Self::GetIcdListResponseFut;
    fn get_unit_test_status(&self) -> Self::GetUnitTestStatusResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn query(&self, query_id: QueryId) -> Self::QueryResponseFut

Source

fn connect2( &self, client_id: u64, primary_channel: ServerEnd<PrimaryMarker>, notification_channel: ServerEnd<NotificationMarker>, ) -> Result<(), Error>

Source

fn dump_state(&self, dump_type: u32) -> Result<(), Error>

Source

fn get_icd_list(&self) -> Self::GetIcdListResponseFut

Source

fn get_unit_test_status(&self) -> Self::GetUnitTestStatusResponseFut

Implementors§