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