pub trait RealmProxyInterface: Send + Sync {
type OpenControllerResponseFut: Future<Output = Result<RealmOpenControllerResult, Error>> + Send;
type OpenExposedDirResponseFut: Future<Output = Result<RealmOpenExposedDirResult, Error>> + Send;
type CreateChildResponseFut: Future<Output = Result<RealmCreateChildResult, Error>> + Send;
type DestroyChildResponseFut: Future<Output = Result<RealmDestroyChildResult, Error>> + Send;
type ListChildrenResponseFut: Future<Output = Result<RealmListChildrenResult, Error>> + Send;
type GetResolvedInfoResponseFut: Future<Output = Result<RealmGetResolvedInfoResult, Error>> + Send;
type GetChildOutputDictionaryDeprecatedResponseFut: Future<Output = Result<RealmGetChildOutputDictionaryDeprecatedResult, Error>> + Send;
type GetChildOutputDictionaryResponseFut: Future<Output = Result<RealmGetChildOutputDictionaryResult, Error>> + Send;
// Required methods
fn open_controller(
&self,
child: &ChildRef,
controller: ServerEnd<ControllerMarker>,
) -> Self::OpenControllerResponseFut;
fn open_exposed_dir(
&self,
child: &ChildRef,
exposed_dir: ServerEnd<DirectoryMarker>,
) -> Self::OpenExposedDirResponseFut;
fn create_child(
&self,
collection: &CollectionRef,
decl: &Child,
args: CreateChildArgs,
) -> Self::CreateChildResponseFut;
fn destroy_child(&self, child: &ChildRef) -> Self::DestroyChildResponseFut;
fn list_children(
&self,
collection: &CollectionRef,
iter: ServerEnd<ChildIteratorMarker>,
) -> Self::ListChildrenResponseFut;
fn get_resolved_info(&self) -> Self::GetResolvedInfoResponseFut;
fn get_child_output_dictionary_deprecated(
&self,
child: &ChildRef,
) -> Self::GetChildOutputDictionaryDeprecatedResponseFut;
fn get_child_output_dictionary(
&self,
child: &ChildRef,
) -> Self::GetChildOutputDictionaryResponseFut;
}Required Associated Types§
type OpenControllerResponseFut: Future<Output = Result<RealmOpenControllerResult, Error>> + Send
type OpenExposedDirResponseFut: Future<Output = Result<RealmOpenExposedDirResult, Error>> + Send
type CreateChildResponseFut: Future<Output = Result<RealmCreateChildResult, Error>> + Send
type DestroyChildResponseFut: Future<Output = Result<RealmDestroyChildResult, Error>> + Send
type ListChildrenResponseFut: Future<Output = Result<RealmListChildrenResult, Error>> + Send
type GetResolvedInfoResponseFut: Future<Output = Result<RealmGetResolvedInfoResult, Error>> + Send
type GetChildOutputDictionaryDeprecatedResponseFut: Future<Output = Result<RealmGetChildOutputDictionaryDeprecatedResult, Error>> + Send
type GetChildOutputDictionaryResponseFut: Future<Output = Result<RealmGetChildOutputDictionaryResult, Error>> + Send
Required Methods§
fn open_controller( &self, child: &ChildRef, controller: ServerEnd<ControllerMarker>, ) -> Self::OpenControllerResponseFut
fn open_exposed_dir( &self, child: &ChildRef, exposed_dir: ServerEnd<DirectoryMarker>, ) -> Self::OpenExposedDirResponseFut
fn create_child( &self, collection: &CollectionRef, decl: &Child, args: CreateChildArgs, ) -> Self::CreateChildResponseFut
fn destroy_child(&self, child: &ChildRef) -> Self::DestroyChildResponseFut
fn list_children( &self, collection: &CollectionRef, iter: ServerEnd<ChildIteratorMarker>, ) -> Self::ListChildrenResponseFut
fn get_resolved_info(&self) -> Self::GetResolvedInfoResponseFut
fn get_child_output_dictionary_deprecated( &self, child: &ChildRef, ) -> Self::GetChildOutputDictionaryDeprecatedResponseFut
fn get_child_output_dictionary( &self, child: &ChildRef, ) -> Self::GetChildOutputDictionaryResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".