#[non_exhaustive]pub enum ReviseError {
Model(String),
BadRevision(String),
Skill(SkillError),
Invalid(Vec<String>),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Model(String)
BadRevision(String)
Skill(SkillError)
Invalid(Vec<String>)
The revised skill failed this workspace’s own rules. Never silently written — a revision that breaks the skill is worse than no revision.
Trait Implementations§
Source§impl Debug for ReviseError
impl Debug for ReviseError
Source§impl Display for ReviseError
impl Display for ReviseError
Source§impl Error for ReviseError
impl Error for ReviseError
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()
Source§impl From<SkillError> for ReviseError
impl From<SkillError> for ReviseError
Source§fn from(source: SkillError) -> Self
fn from(source: SkillError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for ReviseError
impl Freeze for ReviseError
impl RefUnwindSafe for ReviseError
impl Send for ReviseError
impl Sync for ReviseError
impl Unpin for ReviseError
impl UnsafeUnpin for ReviseError
impl UnwindSafe for ReviseError
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