pub struct SkillAtiClient { /* private fields */ }Implementations§
Source§impl SkillAtiClient
impl SkillAtiClient
pub fn from_env(keyring: &Keyring) -> Result<Option<Self>, SkillAtiError>
pub fn from_registry_url( registry_url: &str, keyring: &Keyring, ) -> Result<Self, SkillAtiError>
pub async fn catalog(&self) -> Result<Vec<RemoteSkillMeta>, SkillAtiError>
pub fn filter_catalog( catalog: &[RemoteSkillMeta], query: &str, limit: usize, ) -> Vec<RemoteSkillMeta>
pub async fn read_skill( &self, name: &str, ) -> Result<SkillAtiActivation, SkillAtiError>
pub async fn list_resources( &self, name: &str, prefix: Option<&str>, ) -> Result<Vec<String>, SkillAtiError>
pub async fn read_path( &self, requested_skill: &str, requested_path: &str, ) -> Result<SkillAtiFile, SkillAtiError>
pub async fn list_references( &self, name: &str, ) -> Result<Vec<String>, SkillAtiError>
pub async fn read_reference( &self, name: &str, reference: &str, ) -> Result<String, SkillAtiError>
Auto Trait Implementations§
impl !Freeze for SkillAtiClient
impl !RefUnwindSafe for SkillAtiClient
impl Send for SkillAtiClient
impl Sync for SkillAtiClient
impl Unpin for SkillAtiClient
impl UnsafeUnpin for SkillAtiClient
impl !UnwindSafe for SkillAtiClient
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