fidl_fuchsia_sys2

Trait RealmQueryProxyInterface

Source
pub trait RealmQueryProxyInterface: Send + Sync {
    type GetInstanceResponseFut: Future<Output = Result<RealmQueryGetInstanceResult, Error>> + Send;
    type GetResolvedDeclarationResponseFut: Future<Output = Result<RealmQueryGetResolvedDeclarationResult, Error>> + Send;
    type GetManifestResponseFut: Future<Output = Result<RealmQueryGetManifestResult, Error>> + Send;
    type ResolveDeclarationResponseFut: Future<Output = Result<RealmQueryResolveDeclarationResult, Error>> + Send;
    type GetStructuredConfigResponseFut: Future<Output = Result<RealmQueryGetStructuredConfigResult, Error>> + Send;
    type GetAllInstancesResponseFut: Future<Output = Result<RealmQueryGetAllInstancesResult, Error>> + Send;
    type ConstructNamespaceResponseFut: Future<Output = Result<RealmQueryConstructNamespaceResult, Error>> + Send;
    type OpenDirectoryResponseFut: Future<Output = Result<RealmQueryOpenDirectoryResult, Error>> + Send;
    type ConnectToStorageAdminResponseFut: Future<Output = Result<RealmQueryConnectToStorageAdminResult, Error>> + Send;
    type DeprecatedOpenResponseFut: Future<Output = Result<RealmQueryDeprecatedOpenResult, Error>> + Send;

    // Required methods
    fn get_instance(&self, moniker: &str) -> Self::GetInstanceResponseFut;
    fn get_resolved_declaration(
        &self,
        moniker: &str,
    ) -> Self::GetResolvedDeclarationResponseFut;
    fn get_manifest(&self, moniker: &str) -> Self::GetManifestResponseFut;
    fn resolve_declaration(
        &self,
        parent: &str,
        child_location: &ChildLocation,
        url: &str,
    ) -> Self::ResolveDeclarationResponseFut;
    fn get_structured_config(
        &self,
        moniker: &str,
    ) -> Self::GetStructuredConfigResponseFut;
    fn get_all_instances(&self) -> Self::GetAllInstancesResponseFut;
    fn construct_namespace(
        &self,
        moniker: &str,
    ) -> Self::ConstructNamespaceResponseFut;
    fn open_directory(
        &self,
        moniker: &str,
        dir_type: OpenDirType,
        object: ServerEnd<DirectoryMarker>,
    ) -> Self::OpenDirectoryResponseFut;
    fn connect_to_storage_admin(
        &self,
        moniker: &str,
        storage_name: &str,
        server_end: ServerEnd<StorageAdminMarker>,
    ) -> Self::ConnectToStorageAdminResponseFut;
    fn deprecated_open(
        &self,
        moniker: &str,
        dir_type: OpenDirType,
        flags: OpenFlags,
        mode: ModeType,
        path: &str,
        object: ServerEnd<NodeMarker>,
    ) -> Self::DeprecatedOpenResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn get_instance(&self, moniker: &str) -> Self::GetInstanceResponseFut

Source

fn get_resolved_declaration( &self, moniker: &str, ) -> Self::GetResolvedDeclarationResponseFut

Source

fn get_manifest(&self, moniker: &str) -> Self::GetManifestResponseFut

Source

fn resolve_declaration( &self, parent: &str, child_location: &ChildLocation, url: &str, ) -> Self::ResolveDeclarationResponseFut

Source

fn get_structured_config( &self, moniker: &str, ) -> Self::GetStructuredConfigResponseFut

Source

fn get_all_instances(&self) -> Self::GetAllInstancesResponseFut

Source

fn construct_namespace( &self, moniker: &str, ) -> Self::ConstructNamespaceResponseFut

Source

fn open_directory( &self, moniker: &str, dir_type: OpenDirType, object: ServerEnd<DirectoryMarker>, ) -> Self::OpenDirectoryResponseFut

Source

fn connect_to_storage_admin( &self, moniker: &str, storage_name: &str, server_end: ServerEnd<StorageAdminMarker>, ) -> Self::ConnectToStorageAdminResponseFut

Source

fn deprecated_open( &self, moniker: &str, dir_type: OpenDirType, flags: OpenFlags, mode: ModeType, path: &str, object: ServerEnd<NodeMarker>, ) -> Self::DeprecatedOpenResponseFut

Implementors§