Skip to main content

WorkspaceExecutionHost

Trait WorkspaceExecutionHost 

Source
pub trait WorkspaceExecutionHost: Send + Sync {
    // Required methods
    fn refresh_runtime_scope<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        session: &'life1 mut Session,
        execution_id: &'life2 str,
        persistence: &'life3 Arc<dyn RuntimeSessionPersistence>,
    ) -> Pin<Box<dyn Future<Output = Result<(), AgentError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
    fn finish(&self);
}
Expand description

Execution-local Host bridge for an already committed Workspace transaction. It carries no Skill policy and cannot activate or replace an execution owner.

Required Methods§

Source

fn refresh_runtime_scope<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, session: &'life1 mut Session, execution_id: &'life2 str, persistence: &'life3 Arc<dyn RuntimeSessionPersistence>, ) -> Pin<Box<dyn Future<Output = Result<(), AgentError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source

fn finish(&self)

Close this execution’s observation before a successor may be dispatched.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§