pub enum SkillRefStatus {
Loadable,
Missing {
path: PathBuf,
},
Malformed {
path: PathBuf,
error: String,
},
}Expand description
Outcome of resolving a profile.yaml skill ref (e.g. skills/<name>)
against an agent’s home directory.
Distinguishing Missing from Malformed matters: a ref written without
installing the backing files (issue #717) is a missing skill — telling
the user it “no longer parses” points them at the wrong root cause.
Variants§
Loadable
The ref resolves to a manifest that parses and validates.
Missing
No file exists at the resolved manifest path.
Malformed
A file exists but does not parse/validate as a skill manifest.
Trait Implementations§
Source§impl Clone for SkillRefStatus
impl Clone for SkillRefStatus
Source§fn clone(&self) -> SkillRefStatus
fn clone(&self) -> SkillRefStatus
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 SkillRefStatus
impl Debug for SkillRefStatus
impl Eq for SkillRefStatus
Source§impl PartialEq for SkillRefStatus
impl PartialEq for SkillRefStatus
impl StructuralPartialEq for SkillRefStatus
Auto Trait Implementations§
impl Freeze for SkillRefStatus
impl RefUnwindSafe for SkillRefStatus
impl Send for SkillRefStatus
impl Sync for SkillRefStatus
impl Unpin for SkillRefStatus
impl UnsafeUnpin for SkillRefStatus
impl UnwindSafe for SkillRefStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.