fidl_fuchsia_gpu_magma

Trait CombinedDeviceProxyInterface

Source
pub trait CombinedDeviceProxyInterface: Send + Sync {
    type QueryResponseFut: Future<Output = Result<DeviceQueryResult, Error>> + Send;
    type GetIcdListResponseFut: Future<Output = Result<Vec<IcdInfo>, 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;
}

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

Implementors§