pub struct PatternMatchLimitError { /* private fields */ }Expand description
A validation was abandoned because one match of a pattern or patternProperties regular expression reached
its limit. The instance is then neither valid nor not valid.
Implementations§
Source§impl PatternMatchLimitError
impl PatternMatchLimitError
Sourcepub fn limit(&self) -> Duration
pub fn limit(&self) -> Duration
The time the match was allowed (see CompileOptions::pattern_match_limit).
Trait Implementations§
Source§impl Clone for PatternMatchLimitError
impl Clone for PatternMatchLimitError
Source§impl Debug for PatternMatchLimitError
impl Debug for PatternMatchLimitError
Source§impl Display for PatternMatchLimitError
impl Display for PatternMatchLimitError
impl Eq for PatternMatchLimitError
Source§impl Error for PatternMatchLimitError
impl Error for PatternMatchLimitError
1.30.0 · 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 PartialEq for PatternMatchLimitError
impl PartialEq for PatternMatchLimitError
impl StructuralPartialEq for PatternMatchLimitError
Auto Trait Implementations§
impl Freeze for PatternMatchLimitError
impl RefUnwindSafe for PatternMatchLimitError
impl Send for PatternMatchLimitError
impl Sync for PatternMatchLimitError
impl Unpin for PatternMatchLimitError
impl UnsafeUnpin for PatternMatchLimitError
impl UnwindSafe for PatternMatchLimitError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.