pub struct InMemorySkillStore { /* private fields */ }Implementations§
Source§impl InMemorySkillStore
impl InMemorySkillStore
pub fn new() -> InMemorySkillStore
Trait Implementations§
Source§impl Default for InMemorySkillStore
impl Default for InMemorySkillStore
Source§fn default() -> InMemorySkillStore
fn default() -> InMemorySkillStore
Returns the “default value” for a type. Read more
Source§impl SkillStore for InMemorySkillStore
impl SkillStore for InMemorySkillStore
fn store_skill<'life0, 'async_trait>(
&'life0 self,
manifest: SkillManifest,
wasm_bytes: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send + 'async_trait>>where
'life0: 'async_trait,
InMemorySkillStore: 'async_trait,
fn list_skills<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<(SkillManifest, Vec<u8>)>, String>> + Send + 'async_trait>>where
'life0: 'async_trait,
InMemorySkillStore: 'async_trait,
fn remove_skill<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
InMemorySkillStore: 'async_trait,
Auto Trait Implementations§
impl Freeze for InMemorySkillStore
impl !RefUnwindSafe for InMemorySkillStore
impl Send for InMemorySkillStore
impl Sync for InMemorySkillStore
impl Unpin for InMemorySkillStore
impl UnsafeUnpin for InMemorySkillStore
impl !UnwindSafe for InMemorySkillStore
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