pub enum SkillParseError {
MissingFrontmatter,
InvalidYaml(String),
MissingName,
MissingDescription,
}Expand description
Errors from parsing SKILL.md files.
Variants§
Trait Implementations§
Source§impl Clone for SkillParseError
impl Clone for SkillParseError
Source§fn clone(&self) -> SkillParseError
fn clone(&self) -> SkillParseError
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 moreSource§impl Debug for SkillParseError
impl Debug for SkillParseError
Source§impl Display for SkillParseError
impl Display for SkillParseError
Source§impl Error for SkillParseError
impl Error for SkillParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SkillParseError
impl RefUnwindSafe for SkillParseError
impl Send for SkillParseError
impl Sync for SkillParseError
impl Unpin for SkillParseError
impl UnwindSafe for SkillParseError
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