fidl_fuchsia_component_test

Trait RealmBuilderFactoryProxyInterface

Source
pub trait RealmBuilderFactoryProxyInterface: Send + Sync {
    type CreateResponseFut: Future<Output = Result<RealmBuilderFactoryCreateResult, Error>> + Send;
    type CreateFromRelativeUrlResponseFut: Future<Output = Result<RealmBuilderFactoryCreateFromRelativeUrlResult, Error>> + Send;

    // Required methods
    fn create(
        &self,
        pkg_dir_handle: ClientEnd<DirectoryMarker>,
        realm_server_end: ServerEnd<RealmMarker>,
        builder_server_end: ServerEnd<BuilderMarker>,
    ) -> Self::CreateResponseFut;
    fn create_from_relative_url(
        &self,
        pkg_dir_handle: ClientEnd<DirectoryMarker>,
        relative_url: &str,
        realm_server_end: ServerEnd<RealmMarker>,
        builder_server_end: ServerEnd<BuilderMarker>,
    ) -> Self::CreateFromRelativeUrlResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn create( &self, pkg_dir_handle: ClientEnd<DirectoryMarker>, realm_server_end: ServerEnd<RealmMarker>, builder_server_end: ServerEnd<BuilderMarker>, ) -> Self::CreateResponseFut

Source

fn create_from_relative_url( &self, pkg_dir_handle: ClientEnd<DirectoryMarker>, relative_url: &str, realm_server_end: ServerEnd<RealmMarker>, builder_server_end: ServerEnd<BuilderMarker>, ) -> Self::CreateFromRelativeUrlResponseFut

Implementors§