fidl_fuchsia_driver_test

Trait InternalProxyInterface

Source
pub trait InternalProxyInterface: Send + Sync {
    type GetTestPackageResponseFut: Future<Output = Result<InternalGetTestPackageResult, Error>> + Send;
    type GetTestResolutionContextResponseFut: Future<Output = Result<InternalGetTestResolutionContextResult, Error>> + Send;
    type GetBootDirectoryResponseFut: Future<Output = Result<InternalGetBootDirectoryResult, Error>> + Send;
    type GetBootDriverOverridesResponseFut: Future<Output = Result<InternalGetBootDriverOverridesResult, Error>> + Send;

    // Required methods
    fn get_test_package(&self) -> Self::GetTestPackageResponseFut;
    fn get_test_resolution_context(
        &self,
    ) -> Self::GetTestResolutionContextResponseFut;
    fn get_boot_directory(&self) -> Self::GetBootDirectoryResponseFut;
    fn get_boot_driver_overrides(
        &self,
    ) -> Self::GetBootDriverOverridesResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§

Source§

impl InternalProxyInterface for InternalProxy

Source§

type GetTestPackageResponseFut = QueryResponseFut<Result<Option<ClientEnd<DirectoryMarker>>, i32>>

Source§

type GetTestResolutionContextResponseFut = QueryResponseFut<Result<Option<Box<Context>>, i32>>

Source§

type GetBootDirectoryResponseFut = QueryResponseFut<Result<Option<ClientEnd<DirectoryMarker>>, i32>>

Source§

type GetBootDriverOverridesResponseFut = QueryResponseFut<Result<Vec<String>, i32>>