fidl_fuchsia_component_test

Trait RealmProxyInterface

Source
pub trait RealmProxyInterface: Send + Sync {
Show 38 associated items type AddChildResponseFut: Future<Output = Result<RealmAddChildResult, Error>> + Send; type AddChildFromDeclResponseFut: Future<Output = Result<RealmAddChildFromDeclResult, Error>> + Send; type AddLocalChildResponseFut: Future<Output = Result<RealmAddLocalChildResult, Error>> + Send; type AddChildRealmResponseFut: Future<Output = Result<RealmAddChildRealmResult, Error>> + Send; type AddChildRealmFromRelativeUrlResponseFut: Future<Output = Result<RealmAddChildRealmFromRelativeUrlResult, Error>> + Send; type AddChildRealmFromDeclResponseFut: Future<Output = Result<RealmAddChildRealmFromDeclResult, Error>> + Send; type GetComponentDeclResponseFut: Future<Output = Result<RealmGetComponentDeclResult, Error>> + Send; type ReplaceComponentDeclResponseFut: Future<Output = Result<RealmReplaceComponentDeclResult, Error>> + Send; type GetRealmDeclResponseFut: Future<Output = Result<RealmGetRealmDeclResult, Error>> + Send; type ReplaceRealmDeclResponseFut: Future<Output = Result<RealmReplaceRealmDeclResult, Error>> + Send; type UseNestedComponentManagerResponseFut: Future<Output = Result<RealmUseNestedComponentManagerResult, Error>> + Send; type AddRouteResponseFut: Future<Output = Result<RealmAddRouteResult, Error>> + Send; type ReadOnlyDirectoryResponseFut: Future<Output = Result<RealmReadOnlyDirectoryResult, Error>> + Send; type InitMutableConfigFromPackageResponseFut: Future<Output = Result<RealmInitMutableConfigFromPackageResult, Error>> + Send; type InitMutableConfigToEmptyResponseFut: Future<Output = Result<RealmInitMutableConfigToEmptyResult, Error>> + Send; type AddCapabilityResponseFut: Future<Output = Result<RealmAddCapabilityResult, Error>> + Send; type AddCollectionResponseFut: Future<Output = Result<RealmAddCollectionResult, Error>> + Send; type AddEnvironmentResponseFut: Future<Output = Result<RealmAddEnvironmentResult, Error>> + Send; type SetConfigValueResponseFut: Future<Output = Result<RealmSetConfigValueResult, Error>> + Send; // Required methods fn add_child( &self, name: &str, url: &str, options: &ChildOptions, ) -> Self::AddChildResponseFut; fn add_child_from_decl( &self, name: &str, decl: &Component, options: &ChildOptions, ) -> Self::AddChildFromDeclResponseFut; fn add_local_child( &self, name: &str, options: &ChildOptions, ) -> Self::AddLocalChildResponseFut; fn add_child_realm( &self, name: &str, options: &ChildOptions, child_realm: ServerEnd<RealmMarker>, ) -> Self::AddChildRealmResponseFut; fn add_child_realm_from_relative_url( &self, name: &str, relative_url: &str, options: &ChildOptions, child_realm: ServerEnd<RealmMarker>, ) -> Self::AddChildRealmFromRelativeUrlResponseFut; fn add_child_realm_from_decl( &self, name: &str, decl: &Component, options: &ChildOptions, child_realm: ServerEnd<RealmMarker>, ) -> Self::AddChildRealmFromDeclResponseFut; fn get_component_decl( &self, name: &str, ) -> Self::GetComponentDeclResponseFut; fn replace_component_decl( &self, name: &str, component_decl: &Component, ) -> Self::ReplaceComponentDeclResponseFut; fn get_realm_decl(&self) -> Self::GetRealmDeclResponseFut; fn replace_realm_decl( &self, component_decl: &Component, ) -> Self::ReplaceRealmDeclResponseFut; fn use_nested_component_manager( &self, component_manager_relative_url: &str, ) -> Self::UseNestedComponentManagerResponseFut; fn add_route( &self, capabilities: &[Capability], from: &Ref, to: &[Ref], ) -> Self::AddRouteResponseFut; fn read_only_directory( &self, name: &str, to: &[Ref], directory_contents: DirectoryContents, ) -> Self::ReadOnlyDirectoryResponseFut; fn init_mutable_config_from_package( &self, name: &str, ) -> Self::InitMutableConfigFromPackageResponseFut; fn init_mutable_config_to_empty( &self, name: &str, ) -> Self::InitMutableConfigToEmptyResponseFut; fn add_capability( &self, capability: &Capability, ) -> Self::AddCapabilityResponseFut; fn add_collection( &self, collection: &Collection, ) -> Self::AddCollectionResponseFut; fn add_environment( &self, environment: &Environment, ) -> Self::AddEnvironmentResponseFut; fn set_config_value( &self, name: &str, key: &str, value: &ConfigValueSpec, ) -> Self::SetConfigValueResponseFut;
}

Required Associated Types§

Source

type AddChildResponseFut: Future<Output = Result<RealmAddChildResult, Error>> + Send

Source

type AddChildFromDeclResponseFut: Future<Output = Result<RealmAddChildFromDeclResult, Error>> + Send

Source

type AddLocalChildResponseFut: Future<Output = Result<RealmAddLocalChildResult, Error>> + Send

Source

type AddChildRealmResponseFut: Future<Output = Result<RealmAddChildRealmResult, Error>> + Send

Source

type AddChildRealmFromRelativeUrlResponseFut: Future<Output = Result<RealmAddChildRealmFromRelativeUrlResult, Error>> + Send

Source

type AddChildRealmFromDeclResponseFut: Future<Output = Result<RealmAddChildRealmFromDeclResult, Error>> + Send

Source

type GetComponentDeclResponseFut: Future<Output = Result<RealmGetComponentDeclResult, Error>> + Send

Source

type ReplaceComponentDeclResponseFut: Future<Output = Result<RealmReplaceComponentDeclResult, Error>> + Send

Source

type GetRealmDeclResponseFut: Future<Output = Result<RealmGetRealmDeclResult, Error>> + Send

Source

type ReplaceRealmDeclResponseFut: Future<Output = Result<RealmReplaceRealmDeclResult, Error>> + Send

Source

type UseNestedComponentManagerResponseFut: Future<Output = Result<RealmUseNestedComponentManagerResult, Error>> + Send

Source

type AddRouteResponseFut: Future<Output = Result<RealmAddRouteResult, Error>> + Send

Source

type ReadOnlyDirectoryResponseFut: Future<Output = Result<RealmReadOnlyDirectoryResult, Error>> + Send

Source

type InitMutableConfigFromPackageResponseFut: Future<Output = Result<RealmInitMutableConfigFromPackageResult, Error>> + Send

Source

type InitMutableConfigToEmptyResponseFut: Future<Output = Result<RealmInitMutableConfigToEmptyResult, Error>> + Send

Source

type AddCapabilityResponseFut: Future<Output = Result<RealmAddCapabilityResult, Error>> + Send

Source

type AddCollectionResponseFut: Future<Output = Result<RealmAddCollectionResult, Error>> + Send

Source

type AddEnvironmentResponseFut: Future<Output = Result<RealmAddEnvironmentResult, Error>> + Send

Source

type SetConfigValueResponseFut: Future<Output = Result<RealmSetConfigValueResult, Error>> + Send

Required Methods§

Source

fn add_child( &self, name: &str, url: &str, options: &ChildOptions, ) -> Self::AddChildResponseFut

Source

fn add_child_from_decl( &self, name: &str, decl: &Component, options: &ChildOptions, ) -> Self::AddChildFromDeclResponseFut

Source

fn add_local_child( &self, name: &str, options: &ChildOptions, ) -> Self::AddLocalChildResponseFut

Source

fn add_child_realm( &self, name: &str, options: &ChildOptions, child_realm: ServerEnd<RealmMarker>, ) -> Self::AddChildRealmResponseFut

Source

fn add_child_realm_from_relative_url( &self, name: &str, relative_url: &str, options: &ChildOptions, child_realm: ServerEnd<RealmMarker>, ) -> Self::AddChildRealmFromRelativeUrlResponseFut

Source

fn add_child_realm_from_decl( &self, name: &str, decl: &Component, options: &ChildOptions, child_realm: ServerEnd<RealmMarker>, ) -> Self::AddChildRealmFromDeclResponseFut

Source

fn get_component_decl(&self, name: &str) -> Self::GetComponentDeclResponseFut

Source

fn replace_component_decl( &self, name: &str, component_decl: &Component, ) -> Self::ReplaceComponentDeclResponseFut

Source

fn get_realm_decl(&self) -> Self::GetRealmDeclResponseFut

Source

fn replace_realm_decl( &self, component_decl: &Component, ) -> Self::ReplaceRealmDeclResponseFut

Source

fn use_nested_component_manager( &self, component_manager_relative_url: &str, ) -> Self::UseNestedComponentManagerResponseFut

Source

fn add_route( &self, capabilities: &[Capability], from: &Ref, to: &[Ref], ) -> Self::AddRouteResponseFut

Source

fn read_only_directory( &self, name: &str, to: &[Ref], directory_contents: DirectoryContents, ) -> Self::ReadOnlyDirectoryResponseFut

Source

fn init_mutable_config_from_package( &self, name: &str, ) -> Self::InitMutableConfigFromPackageResponseFut

Source

fn init_mutable_config_to_empty( &self, name: &str, ) -> Self::InitMutableConfigToEmptyResponseFut

Source

fn add_capability( &self, capability: &Capability, ) -> Self::AddCapabilityResponseFut

Source

fn add_collection( &self, collection: &Collection, ) -> Self::AddCollectionResponseFut

Source

fn add_environment( &self, environment: &Environment, ) -> Self::AddEnvironmentResponseFut

Source

fn set_config_value( &self, name: &str, key: &str, value: &ConfigValueSpec, ) -> Self::SetConfigValueResponseFut

Implementors§

Source§

impl RealmProxyInterface for RealmProxy

Source§

type AddChildResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type AddChildFromDeclResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type AddLocalChildResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type AddChildRealmResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type AddChildRealmFromRelativeUrlResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type AddChildRealmFromDeclResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type GetComponentDeclResponseFut = QueryResponseFut<Result<Component, RealmBuilderError>>

Source§

type ReplaceComponentDeclResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type GetRealmDeclResponseFut = QueryResponseFut<Result<Component, RealmBuilderError>>

Source§

type ReplaceRealmDeclResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type UseNestedComponentManagerResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type AddRouteResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type ReadOnlyDirectoryResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type InitMutableConfigFromPackageResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type InitMutableConfigToEmptyResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type AddCapabilityResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type AddCollectionResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type AddEnvironmentResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>

Source§

type SetConfigValueResponseFut = QueryResponseFut<Result<(), RealmBuilderError>>