pub enum RuleCompileError {
MissingPatterns {
rule_id: String,
},
InvalidRegex {
rule_id: String,
pattern: String,
source: Error,
},
InvalidGlob {
rule_id: String,
glob: String,
source: Error,
},
InvalidMultilineWindow {
rule_id: String,
value: u32,
},
UnknownDependency {
rule_id: String,
dependency: String,
},
}Variants§
Trait Implementations§
Source§impl Debug for RuleCompileError
impl Debug for RuleCompileError
Source§impl Display for RuleCompileError
impl Display for RuleCompileError
Source§impl Error for RuleCompileError
impl Error for RuleCompileError
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 RuleCompileError
impl RefUnwindSafe for RuleCompileError
impl Send for RuleCompileError
impl Sync for RuleCompileError
impl Unpin for RuleCompileError
impl UnsafeUnpin for RuleCompileError
impl UnwindSafe for RuleCompileError
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