pub enum MatchRecognizeSpecError {
DuplicateSymbol {
symbol: String,
},
DuplicatePatternSymbol {
symbol: String,
previous: String,
},
PatternSymbolsMismatch {
missing_from_pattern: Vec<String>,
unknown_in_pattern: Vec<String>,
},
DuplicateDefinition {
symbol: String,
},
UnknownDefinition {
symbol: String,
},
UnknownSkipTarget {
symbol: String,
},
MissingMeasureName,
DuplicateMeasureName {
name: String,
},
DuplicateOutputName {
name: String,
},
}Expand description
Validation error for a source-level MATCH_RECOGNIZE specification.
Variants§
DuplicateSymbol
The declared symbol list contains the same case-insensitive name twice.
DuplicatePatternSymbol
The pattern contains two spellings of one case-insensitive symbol name.
Fields
PatternSymbolsMismatch
The declared symbol list and symbols referenced by the pattern differ.
Fields
DuplicateDefinition
More than one DEFINE entry targets the same case-insensitive symbol.
UnknownDefinition
A DEFINE entry targets a symbol outside the declared domain.
UnknownSkipTarget
AFTER MATCH SKIP TO FIRST/LAST targets an undeclared symbol.
MissingMeasureName
A completed measure has no output name.
DuplicateMeasureName
Two measures use the same case-insensitive output name.
DuplicateOutputName
Two explicitly listed outputs use the same case-insensitive name.
Trait Implementations§
Source§impl Clone for MatchRecognizeSpecError
impl Clone for MatchRecognizeSpecError
Source§impl Debug for MatchRecognizeSpecError
impl Debug for MatchRecognizeSpecError
Source§impl Display for MatchRecognizeSpecError
impl Display for MatchRecognizeSpecError
impl Eq for MatchRecognizeSpecError
Source§impl Error for MatchRecognizeSpecError
impl Error for MatchRecognizeSpecError
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 MatchRecognizeSpecError
impl PartialEq for MatchRecognizeSpecError
impl StructuralPartialEq for MatchRecognizeSpecError
Auto Trait Implementations§
impl Forget for MatchRecognizeSpecError
impl Freeze for MatchRecognizeSpecError
impl Move for MatchRecognizeSpecError
impl RefUnwindSafe for MatchRecognizeSpecError
impl Send for MatchRecognizeSpecErrorwhere
RawVecInner: Send,
impl Sync for MatchRecognizeSpecErrorwhere
RawVecInner: Sync,
impl Unpin for MatchRecognizeSpecError
impl UnsafeUnpin for MatchRecognizeSpecErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for MatchRecognizeSpecErrorwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more