pub enum SchemaNormalizeError {
InvalidName {
path: String,
value: String,
},
ExpectedSingleKey {
path: String,
found: usize,
},
InvalidColonDelimitedEntity {
path: String,
raw: String,
},
AmbiguousColonDelimitedEntity {
path: String,
raw: String,
},
ConflictingThresholdAliases {
path: String,
threshold: Option<f64>,
cls_threshold: Option<f64>,
},
DuplicateNormalizedName {
path: String,
name: String,
},
InvalidEmptyAcquiredRelation {
path: String,
},
InvalidStructureProperties {
path: String,
},
InvalidDType {
path: String,
value: String,
},
NestedDecode {
path: String,
message: String,
},
}Variants§
InvalidName
ExpectedSingleKey
InvalidColonDelimitedEntity
AmbiguousColonDelimitedEntity
ConflictingThresholdAliases
DuplicateNormalizedName
InvalidEmptyAcquiredRelation
InvalidStructureProperties
InvalidDType
NestedDecode
Trait Implementations§
Source§impl Debug for SchemaNormalizeError
impl Debug for SchemaNormalizeError
Source§impl Display for SchemaNormalizeError
impl Display for SchemaNormalizeError
Source§impl Error for SchemaNormalizeError
impl Error for SchemaNormalizeError
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<SchemaNormalizeError> for SchemaLoadError
impl From<SchemaNormalizeError> for SchemaLoadError
Source§fn from(source: SchemaNormalizeError) -> Self
fn from(source: SchemaNormalizeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SchemaNormalizeError
impl RefUnwindSafe for SchemaNormalizeError
impl Send for SchemaNormalizeError
impl Sync for SchemaNormalizeError
impl Unpin for SchemaNormalizeError
impl UnsafeUnpin for SchemaNormalizeError
impl UnwindSafe for SchemaNormalizeError
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