pub trait RealmProxyInterface: Send + Sync {
Show 28 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 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 set_config_value(
&self,
name: &str,
key: &str,
value: &ConfigValueSpec
) -> Self::SetConfigValueResponseFut;
}