Trait MetadataService
Source pub trait MetadataService: Send + Sync {
// Required methods
fn discover_skills<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<SkillMetadata>, ServiceError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn search_skills<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<SkillMetadata>, ServiceError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_skill_frontmatter<'life0, 'life1, 'async_trait>(
&'life0 self,
skill_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<SkillFrontmatter, ServiceError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}