1 2 3 4 5 6 7 8
use crate::error::TreeDxResult; use async_trait::async_trait; use serde_json::Value; #[async_trait] pub trait ExecPort: Send + Sync { async fn run(&self, workspace_id: &str, body: Value) -> TreeDxResult<Value>; }