Skip to main content

HydraAdapter

Trait HydraAdapter 

Source
pub trait HydraAdapter: Send + Sync {
    // Required methods
    fn adapter_id(&self) -> &str;
    fn capabilities(&self) -> Vec<String>;
    fn handle_request(
        &self,
        method: &str,
        params: &str,
    ) -> Result<String, String>;
}
Expand description

Hydra adapter trait for orchestrator integration.

Required Methods§

Source

fn adapter_id(&self) -> &str

Source

fn capabilities(&self) -> Vec<String>

Source

fn handle_request(&self, method: &str, params: &str) -> Result<String, String>

Implementors§