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: EventPair,
) -> Self::CreateRealm2ResponseFut;
}Required Associated Types§
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: EventPair, ) -> Self::CreateRealm2ResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".