pub enum MatcherError {
AttributeUnavailable {
attr: String,
},
InvalidRegex {
regex: String,
errmsg: String,
},
}Expand description
Errors produced by Matcher::matches.
These correspond to MatcherException on the C++ side.
Variants§
Current matchable doesn’t have an attribute named attr
InvalidRegex
Compiling regular expression regex produced an error message errmsg
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MatcherError
impl RefUnwindSafe for MatcherError
impl Send for MatcherError
impl Sync for MatcherError
impl Unpin for MatcherError
impl UnsafeUnpin for MatcherError
impl UnwindSafe for MatcherError
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