fidl_fuchsia_vulkan_loader

Trait LoaderProxyInterface

Source
pub trait LoaderProxyInterface: Send + Sync {
    type GetResponseFut: Future<Output = Result<Option<Vmo>, Error>> + Send;
    type GetSupportedFeaturesResponseFut: Future<Output = Result<Features, Error>> + Send;
    type GetVmexResourceResponseFut: Future<Output = Result<LoaderGetVmexResourceResult, Error>> + Send;

    // Required methods
    fn get(&self, name: &str) -> Self::GetResponseFut;
    fn connect_to_manifest_fs(
        &self,
        options: ConnectToManifestOptions,
        channel: Channel,
    ) -> Result<(), Error>;
    fn connect_to_device_fs(&self, channel: Channel) -> Result<(), Error>;
    fn get_supported_features(&self) -> Self::GetSupportedFeaturesResponseFut;
    fn get_vmex_resource(&self) -> Self::GetVmexResourceResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn get(&self, name: &str) -> Self::GetResponseFut

Source

fn connect_to_manifest_fs( &self, options: ConnectToManifestOptions, channel: Channel, ) -> Result<(), Error>

Source

fn connect_to_device_fs(&self, channel: Channel) -> Result<(), Error>

Source

fn get_supported_features(&self) -> Self::GetSupportedFeaturesResponseFut

Source

fn get_vmex_resource(&self) -> Self::GetVmexResourceResponseFut

Implementors§