pub struct ChannelManager { /* private fields */ }Expand description
Channel manager for search operations
Implementations§
Source§impl ChannelManager
impl ChannelManager
Sourcepub fn with_registry(base_dir: PathBuf, registry: ChannelRegistry) -> Self
pub fn with_registry(base_dir: PathBuf, registry: ChannelRegistry) -> Self
Create with a specific registry
Sourcepub fn registry(&self) -> &ChannelRegistry
pub fn registry(&self) -> &ChannelRegistry
Get the registry
Sourcepub fn registry_mut(&mut self) -> &mut ChannelRegistry
pub fn registry_mut(&mut self) -> &mut ChannelRegistry
Get mutable registry
Sourcepub fn search(
&self,
query: &str,
options: &SearchOptions,
) -> Result<Vec<ProfileRef>>
pub fn search( &self, query: &str, options: &SearchOptions, ) -> Result<Vec<ProfileRef>>
Search across all enabled searchable channels
Sourcepub fn refresh_channel(&self, channel_name: &str) -> Result<()>
pub fn refresh_channel(&self, channel_name: &str) -> Result<()>
Refresh a channel’s cache
Sourcepub fn get_marketplace_plugin(
&self,
channel_name: &str,
plugin_name: &str,
) -> Result<Option<MarketplacePlugin>>
pub fn get_marketplace_plugin( &self, channel_name: &str, plugin_name: &str, ) -> Result<Option<MarketplacePlugin>>
Get a plugin entry from marketplace catalog
Sourcepub fn get_codex_skills(&self, channel_name: &str) -> Result<Vec<CodexSkill>>
pub fn get_codex_skills(&self, channel_name: &str) -> Result<Vec<CodexSkill>>
Get Codex skills from cached catalog
Auto Trait Implementations§
impl Freeze for ChannelManager
impl RefUnwindSafe for ChannelManager
impl Send for ChannelManager
impl Sync for ChannelManager
impl Unpin for ChannelManager
impl UnwindSafe for ChannelManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more