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