pub enum SkillSource {
Bundled,
Path(String),
}Expand description
One source of skills declared by the manifest. Either the magic
“library bundled” token (rendered as the YAML boolean true), or
a filesystem path resolved against the manifest’s parent dir.
Path conventions match the rest of the manifest:
./fooorfoo— relative to the manifest’s parent dir~/foo— home-relative (POSIX$HOMEexpansion)/foo— absolute
Variants§
Bundled
The compile-time bundled skills shipped with mcp-methods plus
any added by the downstream binary at registry-build time.
In YAML: a bare true token in the skills: list.
Path(String)
A filesystem path containing *.md skill files. Walked at
boot. Path resolution happens at registry-build time, not parse
time — SkillSource::Path stores the raw operator-declared
string for round-tripping through Manifest::to_json().
Trait Implementations§
Source§impl Clone for SkillSource
impl Clone for SkillSource
Source§fn clone(&self) -> SkillSource
fn clone(&self) -> SkillSource
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 SkillSource
impl Debug for SkillSource
Source§impl PartialEq for SkillSource
impl PartialEq for SkillSource
Source§fn eq(&self, other: &SkillSource) -> bool
fn eq(&self, other: &SkillSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SkillSource
impl StructuralPartialEq for SkillSource
Auto Trait Implementations§
impl Freeze for SkillSource
impl RefUnwindSafe for SkillSource
impl Send for SkillSource
impl Sync for SkillSource
impl Unpin for SkillSource
impl UnsafeUnpin for SkillSource
impl UnwindSafe for SkillSource
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.