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§
Sourcefn 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_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
.
Sourcefn driver_test_realm_connect_to_dev(&self) -> Result<DirectoryProxy>
fn driver_test_realm_connect_to_dev(&self) -> Result<DirectoryProxy>
Connect to the /dev/ directory hosted by DriverTestRealm in this Instance.