pub trait DriverTestRealmInstance {
    // Required methods
    fn driver_test_realm_start<'life0, 'async_trait>(
        &'life0 self,
        args: RealmArgs
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn driver_test_realm_connect_to_dev(&self) -> Result<DirectoryProxy>;
}

Required Methods§

source

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

Connect to the DriverTestRealm in this Instance and call Start with args.

source

fn driver_test_realm_connect_to_dev(&self) -> Result<DirectoryProxy>

Connect to the /dev/ directory hosted by DriverTestRealm in this Instance.

Implementations on Foreign Types§

source§

impl DriverTestRealmInstance for RealmInstance

source§

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

source§

fn driver_test_realm_connect_to_dev(&self) -> Result<DirectoryProxy>

Implementors§