pub trait RealmFactoryProxyInterface: Send + Sync {
type CreateRealmResponseFut: Future<Output = Result<RealmFactoryCreateRealmResult, Error>> + Send;
type CreateRealm2ResponseFut: Future<Output = Result<RealmFactoryCreateRealm2Result, Error>> + Send;
// Required methods
fn create_realm(
&self,
options: RealmOptions,
realm_server: ServerEnd<RealmProxy_Marker>,
) -> Self::CreateRealmResponseFut;
fn create_realm2(
&self,
options: RealmOptions,
dictionary: ServerEnd<DictionaryMarker>,
) -> Self::CreateRealm2ResponseFut;
}