Trait SkillStore
Source pub trait SkillStore: Send + Sync {
// Required methods
fn store_skill<'life0, 'async_trait>(
&'life0 self,
manifest: SkillManifest,
wasm_bytes: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_skills<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<(SkillManifest, Vec<u8>)>, String>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn remove_skill<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}