pub struct StaticSkills { /* private fields */ }Expand description
A fixed list of skills held in memory.
The shape an embedding program reaches for: it already has the skills — fetched from its own service, generated from its own configuration, or written inline in the host binary — and wants them in the catalog without first writing them to a directory for the engine to scan back.
Implementations§
Source§impl StaticSkills
impl StaticSkills
Trait Implementations§
Source§impl SkillProvider for StaticSkills
impl SkillProvider for StaticSkills
Source§fn id(&self) -> &str
fn id(&self) -> &str
Stable identifier, for logs and for a host that wants to find its own
source again.
Source§fn precedence(&self) -> SkillPrecedence
fn precedence(&self) -> SkillPrecedence
What this source does about a name another source already registered. Read more
Source§fn skills(&self) -> Vec<SkillEntry>
fn skills(&self) -> Vec<SkillEntry>
Everything this source has, as of now.
Auto Trait Implementations§
impl Forget for StaticSkills
impl Freeze for StaticSkillswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SkillEntry>: Freeze,
PhantomData<(String, String)>: Freeze,
impl Move for StaticSkills
impl RefUnwindSafe for StaticSkills
impl Send for StaticSkills
impl Sync for StaticSkills
impl Unpin for StaticSkills
impl UnsafeUnpin for StaticSkillswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SkillEntry>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
impl UnwindSafe for StaticSkills
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