pub enum RuleSerializeError {
MissPositiveMatcher,
InvalidKind(KindMatcherError),
InvalidPattern(PatternError),
WrongRegex(RegexMatcherError),
MatchesRefrence(ReferentRuleError),
FieldNotSupported,
}Variants§
MissPositiveMatcher
InvalidKind(KindMatcherError)
InvalidPattern(PatternError)
WrongRegex(RegexMatcherError)
MatchesRefrence(ReferentRuleError)
FieldNotSupported
Trait Implementations§
source§impl Debug for RuleSerializeError
impl Debug for RuleSerializeError
source§impl Display for RuleSerializeError
impl Display for RuleSerializeError
source§impl Error for RuleSerializeError
impl Error for RuleSerializeError
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<KindMatcherError> for RuleSerializeError
impl From<KindMatcherError> for RuleSerializeError
source§fn from(source: KindMatcherError) -> Self
fn from(source: KindMatcherError) -> Self
Converts to this type from the input type.
source§impl From<PatternError> for RuleSerializeError
impl From<PatternError> for RuleSerializeError
source§fn from(source: PatternError) -> Self
fn from(source: PatternError) -> Self
Converts to this type from the input type.
source§impl From<RegexMatcherError> for RuleSerializeError
impl From<RegexMatcherError> for RuleSerializeError
source§fn from(source: RegexMatcherError) -> Self
fn from(source: RegexMatcherError) -> 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 RuleSerializeError
impl Send for RuleSerializeError
impl Sync for RuleSerializeError
impl Unpin for RuleSerializeError
impl UnwindSafe for RuleSerializeError
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