fidl_fuchsia_component_test

Trait RealmProxyInterface

Source
pub trait RealmProxyInterface: Send + Sync {
Show 32 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 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 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 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 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 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 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 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 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§