pub struct InMemorySkillLoader { /* private fields */ }Expand description
In-memory skill loader for testing.
Stores skills in memory rather than loading from files.
Implementations§
Trait Implementations§
Source§impl Default for InMemorySkillLoader
impl Default for InMemorySkillLoader
Source§fn default() -> InMemorySkillLoader
fn default() -> InMemorySkillLoader
Returns the “default value” for a type. Read more
Source§impl SkillLoader for InMemorySkillLoader
impl SkillLoader for InMemorySkillLoader
Source§fn load<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Skill>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Skill>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Load a skill by name. Read more
Auto Trait Implementations§
impl !Freeze for InMemorySkillLoader
impl RefUnwindSafe for InMemorySkillLoader
impl Send for InMemorySkillLoader
impl Sync for InMemorySkillLoader
impl Unpin for InMemorySkillLoader
impl UnwindSafe for InMemorySkillLoader
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