Skip to main content

ApplyPatchPreviewPort

Trait ApplyPatchPreviewPort 

Source
pub trait ApplyPatchPreviewPort: Send + Sync {
    // Required method
    fn preview_patch<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        target: &'life1 str,
        patch: &'life2 str,
        execution_permit: &'life3 ToolExecutionPermit,
    ) -> Pin<Box<dyn Future<Output = Result<Value, ToolError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}

Required Methods§

Source

fn preview_patch<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, target: &'life1 str, patch: &'life2 str, execution_permit: &'life3 ToolExecutionPermit, ) -> Pin<Box<dyn Future<Output = Result<Value, ToolError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§