pub trait DriverTestRealmBuilder {
    // Required methods
    fn driver_test_realm_manifest_setup<'life0, 'life1, 'async_trait>(
        &'life0 self,
        manifest_url: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<&Self>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn driver_test_realm_setup<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<&Self>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn driver_test_realm_add_expose<'life0, 'async_trait, S>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<&Self>> + Send + 'async_trait>>
       where S: 'async_trait + ServiceMarker,
             Self: 'async_trait,
             'life0: 'async_trait;
    fn driver_test_realm_add_offer<'life0, 'async_trait, P>(
        &'life0 self,
        from: Ref
    ) -> Pin<Box<dyn Future<Output = Result<&Self>> + Send + 'async_trait>>
       where P: 'async_trait + DiscoverableProtocolMarker,
             Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn driver_test_realm_manifest_setup<'life0, 'life1, 'async_trait>( &'life0 self, manifest_url: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<&Self>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Set up the DriverTestRealm component in the RealmBuilder realm. This configures proper input/output routing of capabilities. This takes a manifest_url to use, which is used by tests that need to specify a custom driver test realm.

source

fn driver_test_realm_setup<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<&Self>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Set up the DriverTestRealm component in the RealmBuilder realm. This configures proper input/output routing of capabilities.

source

fn driver_test_realm_add_expose<'life0, 'async_trait, S>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<&Self>> + Send + 'async_trait>>
where S: 'async_trait + ServiceMarker, Self: 'async_trait, 'life0: 'async_trait,

source

fn driver_test_realm_add_offer<'life0, 'async_trait, P>( &'life0 self, from: Ref ) -> Pin<Box<dyn Future<Output = Result<&Self>> + Send + 'async_trait>>
where P: 'async_trait + DiscoverableProtocolMarker, Self: 'async_trait, 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl DriverTestRealmBuilder for RealmBuilder

source§

fn driver_test_realm_manifest_setup<'life0, 'life1, 'async_trait>( &'life0 self, manifest_url: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<&Self>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn driver_test_realm_setup<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<&Self>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn driver_test_realm_add_expose<'life0, 'async_trait, S>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<&Self>> + Send + 'async_trait>>
where S: 'async_trait + ServiceMarker, Self: 'async_trait, 'life0: 'async_trait,

source§

fn driver_test_realm_add_offer<'life0, 'async_trait, P>( &'life0 self, from: Ref ) -> Pin<Box<dyn Future<Output = Result<&Self>> + Send + 'async_trait>>
where P: 'async_trait + DiscoverableProtocolMarker, Self: 'async_trait, 'life0: 'async_trait,

Implementors§