#[non_exhaustive]pub enum NormalizeError {
NoDomain,
Invalid,
UnassignedCodePoint,
Mismatch,
OutOfRange,
}Expand description
Why a scalar has no term. Never includes plaintext.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NoDomain
The scalar has no domain under the normalizer: a null, an
undefined, a boolean, or a logical type outside its opt-in table.
The message does not name an index, because the equality and order
normalizers both report it; whatever wraps it says which.
Invalid
The value is not valid for its logical type.
UnassignedCodePoint
Text contains a code point unassigned in Unicode 16.
Mismatch
The value is of another kind than the type the index declares: text for an integer column, say. Not reported by the equality normalizer, which declares no type.
OutOfRange
The value is of the kind the index declares but does not fit it: an integer outside the declared width. Not reported by the equality normalizer, which declares no type.
Trait Implementations§
Source§impl Clone for NormalizeError
impl Clone for NormalizeError
impl Copy for NormalizeError
Source§impl Debug for NormalizeError
impl Debug for NormalizeError
Source§impl Display for NormalizeError
impl Display for NormalizeError
impl Eq for NormalizeError
Source§impl Error for NormalizeError
impl Error for NormalizeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()