pub struct HttpSkill;Trait Implementations§
Source§impl Skill for HttpSkill
impl Skill for HttpSkill
Source§fn build_tools<'life0, 'life1, 'async_trait>(
&'life0 self,
config: Option<&'life1 Value>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Box<dyn Tool>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn build_tools<'life0, 'life1, 'async_trait>(
&'life0 self,
config: Option<&'life1 Value>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Box<dyn Tool>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Build pre-configured tool instances from the raw per-profile config
table (
[profiles.<name>.skills.<skill>]), or None if the table is
absent. Returns an error if required config (e.g. a token) is missing.Auto Trait Implementations§
impl Freeze for HttpSkill
impl RefUnwindSafe for HttpSkill
impl Send for HttpSkill
impl Sync for HttpSkill
impl Unpin for HttpSkill
impl UnsafeUnpin for HttpSkill
impl UnwindSafe for HttpSkill
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