fidl_fuchsia_driver_testing

Trait RealmFactoryProxyInterface

Source
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;
}

Required Associated Types§

Required Methods§

Source

fn create_realm( &self, options: RealmOptions, realm_server: ServerEnd<RealmProxy_Marker>, ) -> Self::CreateRealmResponseFut

Source

fn create_realm2( &self, options: RealmOptions, dictionary: ServerEnd<DictionaryMarker>, ) -> Self::CreateRealm2ResponseFut

Implementors§