pub struct SkillStore { /* private fields */ }Implementations§
Source§impl SkillStore
impl SkillStore
pub fn new(data_dir: impl AsRef<Path>) -> Result<Self>
pub fn list(&self) -> Result<Vec<SkillRecord>>
pub fn install(&self, name: &str, source: &str) -> Result<SkillRecord>
pub fn get(&self, name: &str) -> Result<SkillRecord>
pub fn remove(&self, name: &str) -> Result<()>
pub fn test(&self, name: &str) -> Result<String>
Trait Implementations§
Source§impl Clone for SkillStore
impl Clone for SkillStore
Source§fn clone(&self) -> SkillStore
fn clone(&self) -> SkillStore
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SkillStore
impl RefUnwindSafe for SkillStore
impl Send for SkillStore
impl Sync for SkillStore
impl Unpin for SkillStore
impl UnsafeUnpin for SkillStore
impl UnwindSafe for SkillStore
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