pub struct InMemoryHarnessStore { /* private fields */ }Expand description
Application-grade in-memory harness store for embedded hosts.
Implementations§
Source§impl InMemoryHarnessStore
impl InMemoryHarnessStore
Sourcepub async fn add_harness(
&self,
harness_id: HarnessId,
harness: HarnessDefinition,
)
pub async fn add_harness( &self, harness_id: HarnessId, harness: HarnessDefinition, )
Insert or replace a harness definition.
Trait Implementations§
Source§impl Clone for InMemoryHarnessStore
impl Clone for InMemoryHarnessStore
Source§fn clone(&self) -> InMemoryHarnessStore
fn clone(&self) -> InMemoryHarnessStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InMemoryHarnessStore
impl Debug for InMemoryHarnessStore
Source§impl Default for InMemoryHarnessStore
impl Default for InMemoryHarnessStore
Source§fn default() -> InMemoryHarnessStore
fn default() -> InMemoryHarnessStore
Returns the “default value” for a type. Read more
Source§impl HarnessStore for InMemoryHarnessStore
impl HarnessStore for InMemoryHarnessStore
Source§fn get_harness<'life0, 'async_trait>(
&'life0 self,
harness_id: HarnessId,
) -> Pin<Box<dyn Future<Output = Result<Option<HarnessDefinition>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_harness<'life0, 'async_trait>(
&'life0 self,
harness_id: HarnessId,
) -> Pin<Box<dyn Future<Output = Result<Option<HarnessDefinition>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get the effective (inheritance-resolved) execution definition for a
harness by id. Returns
Ok(None) if the harness does not exist.Source§fn get_harness_blocker<'life0, 'async_trait>(
&'life0 self,
harness_id: TypedId<HarnessIdMarker>,
) -> Pin<Box<dyn Future<Output = Result<Option<DependencyBlocker>, AgentLoopError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn get_harness_blocker<'life0, 'async_trait>(
&'life0 self,
harness_id: TypedId<HarnessIdMarker>,
) -> Pin<Box<dyn Future<Output = Result<Option<DependencyBlocker>, AgentLoopError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Execution-availability probe for dependency-blocker detection. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for InMemoryHarnessStore
impl !UnwindSafe for InMemoryHarnessStore
impl Freeze for InMemoryHarnessStore
impl Send for InMemoryHarnessStore
impl Sync for InMemoryHarnessStore
impl Unpin for InMemoryHarnessStore
impl UnsafeUnpin for InMemoryHarnessStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more