fidl_fuchsia_sys2Trait 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;
}