pub enum StructuredMatcherError {
Compile(CompileError),
ResourceLimit {
kind: LimitKind,
observed: usize,
limit: usize,
},
}Expand description
Errors from compilation, state advancement, and mask generation.
Variants§
Compile(CompileError)
A schema or plan compilation error.
ResourceLimit
A bounded runtime resource was exhausted.
Trait Implementations§
Source§impl Clone for StructuredMatcherError
impl Clone for StructuredMatcherError
Source§fn clone(&self) -> StructuredMatcherError
fn clone(&self) -> StructuredMatcherError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StructuredMatcherError
impl Debug for StructuredMatcherError
Source§impl Display for StructuredMatcherError
impl Display for StructuredMatcherError
impl Eq for StructuredMatcherError
Source§impl Error for StructuredMatcherError
impl Error for StructuredMatcherError
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 From<CompileError> for StructuredMatcherError
impl From<CompileError> for StructuredMatcherError
Source§fn from(error: CompileError) -> Self
fn from(error: CompileError) -> Self
Converts to this type from the input type.
Source§impl From<StructuredMatcherError> for SessionError
impl From<StructuredMatcherError> for SessionError
Source§fn from(e: StructuredMatcherError) -> Self
fn from(e: StructuredMatcherError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StructuredMatcherError
impl PartialEq for StructuredMatcherError
impl StructuralPartialEq for StructuredMatcherError
Auto Trait Implementations§
impl Freeze for StructuredMatcherError
impl RefUnwindSafe for StructuredMatcherError
impl Send for StructuredMatcherError
impl Sync for StructuredMatcherError
impl Unpin for StructuredMatcherError
impl UnsafeUnpin for StructuredMatcherError
impl UnwindSafe for StructuredMatcherError
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