Skip to main content

RuntimeHarnessStore

Trait RuntimeHarnessStore 

Source
pub trait RuntimeHarnessStore:
    HarnessStore
    + Send
    + Sync {
    // Required method
    fn add_harness<'life0, 'async_trait>(
        &'life0 self,
        harness: Harness,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Harness store contract for runtime seeding and lookup.

Required Methods§

Source

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

Insert or replace a harness definition.

Implementations on Foreign Types§

Source§

impl RuntimeHarnessStore for InMemoryHarnessStore

Source§

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

Implementors§