pub trait RealmFactoryProxyInterface: Send + Sync {
type CreateRealmResponseFut: Future<Output = Result<RealmFactoryCreateRealmResult, Error>> + Send;
// Required method
fn create_realm(
&self,
options: &RealmOptions,
realm_server: ServerEnd<RealmProxy_Marker>,
) -> Self::CreateRealmResponseFut;
}Required Associated Types§
type CreateRealmResponseFut: Future<Output = Result<RealmFactoryCreateRealmResult, Error>> + Send
Required Methods§
fn create_realm( &self, options: &RealmOptions, realm_server: ServerEnd<RealmProxy_Marker>, ) -> Self::CreateRealmResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".