power_framework_test_realm

Trait PowerFrameworkTestRealmBuilder

Source
pub trait PowerFrameworkTestRealmBuilder {
    // Required methods
    fn power_framework_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 power_framework_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;
}

Required Methods§

Source

fn power_framework_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 PowerFrameworkTestRealm 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 power framework test realm.

Source

fn power_framework_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 PowerFrameworkTestRealm component in the RealmBuilder realm. This configures proper input/output routing of capabilities.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl PowerFrameworkTestRealmBuilder for RealmBuilder

Source§

fn power_framework_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 power_framework_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,

Implementors§