Enum ast_grep_config::RuleCoreError
source · pub enum RuleCoreError {
Yaml(Error),
Utils(RuleSerializeError),
Rule(RuleSerializeError),
Constraints(RuleSerializeError),
Transform(TransformError),
Fixer(FixerError),
UndefinedMetaVar(String, &'static str),
}Variants§
Yaml(Error)
Utils(RuleSerializeError)
Rule(RuleSerializeError)
Constraints(RuleSerializeError)
Transform(TransformError)
Fixer(FixerError)
UndefinedMetaVar(String, &'static str)
Trait Implementations§
source§impl Debug for RuleCoreError
impl Debug for RuleCoreError
source§impl Display for RuleCoreError
impl Display for RuleCoreError
source§impl Error for RuleCoreError
impl Error for RuleCoreError
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<Error> for RuleCoreError
impl From<Error> for RuleCoreError
source§impl From<RuleCoreError> for RuleConfigError
impl From<RuleCoreError> for RuleConfigError
source§fn from(source: RuleCoreError) -> Self
fn from(source: RuleCoreError) -> Self
Converts to this type from the input type.
source§impl From<RuleSerializeError> for RuleCoreError
impl From<RuleSerializeError> for RuleCoreError
source§fn from(source: RuleSerializeError) -> Self
fn from(source: RuleSerializeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuleCoreError
impl !RefUnwindSafe for RuleCoreError
impl Send for RuleCoreError
impl Sync for RuleCoreError
impl Unpin for RuleCoreError
impl !UnwindSafe for RuleCoreError
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