pub enum SkillProvenance {
Project,
DomainPack(PathBuf),
Bundled,
}Expand description
Where a Skill came from. Used for the boot-time collision-
resolution log and surfaced via the JSON shape kglite consumes
from to_json() (in Phase 1d).
Variants§
Project
Auto-detected from <basename>.skills/ adjacent to the
manifest YAML — top-priority operator overrides.
DomainPack(PathBuf)
Loaded from an operator-declared path in the manifest’s
skills: list (a domain skill-pack or shared library).
Bundled
Compile-time bundled — shipped with mcp-methods (framework
defaults) or with a downstream binary like kglite-mcp-server.
Trait Implementations§
Source§impl Clone for SkillProvenance
impl Clone for SkillProvenance
Source§fn clone(&self) -> SkillProvenance
fn clone(&self) -> SkillProvenance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SkillProvenance
impl Debug for SkillProvenance
Source§impl PartialEq for SkillProvenance
impl PartialEq for SkillProvenance
Source§fn eq(&self, other: &SkillProvenance) -> bool
fn eq(&self, other: &SkillProvenance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SkillProvenance
impl StructuralPartialEq for SkillProvenance
Auto Trait Implementations§
impl Freeze for SkillProvenance
impl RefUnwindSafe for SkillProvenance
impl Send for SkillProvenance
impl Sync for SkillProvenance
impl Unpin for SkillProvenance
impl UnsafeUnpin for SkillProvenance
impl UnwindSafe for SkillProvenance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.