pub enum HedlErrorKind {
Syntax,
Version,
Schema,
Alias,
Shape,
Semantic,
OrphanRow,
Collision,
Reference,
Security,
Conversion,
IO,
}Expand description
The kind of error that occurred during parsing.
Variants§
Syntax
Lexical or structural violation.
Version
Unsupported version.
Schema
Schema violation or mismatch.
Alias
Duplicate or invalid alias.
Shape
Wrong number of cells in row.
Semantic
Logical error (ditto in ID, null in ID, etc).
OrphanRow
Child row without NEST rule.
Collision
Duplicate ID within type.
Reference
Unresolved reference in strict mode.
Security
Security limit exceeded.
Conversion
Error during format conversion (JSON, YAML, XML, etc.).
IO
I/O error (file operations, network, etc.).
Trait Implementations§
Source§impl Clone for HedlErrorKind
impl Clone for HedlErrorKind
Source§fn clone(&self) -> HedlErrorKind
fn clone(&self) -> HedlErrorKind
Returns a duplicate of the value. Read more
1.0.0 · 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 HedlErrorKind
impl Debug for HedlErrorKind
Source§impl Display for HedlErrorKind
impl Display for HedlErrorKind
Source§impl PartialEq for HedlErrorKind
impl PartialEq for HedlErrorKind
impl Eq for HedlErrorKind
impl StructuralPartialEq for HedlErrorKind
Auto Trait Implementations§
impl Freeze for HedlErrorKind
impl RefUnwindSafe for HedlErrorKind
impl Send for HedlErrorKind
impl Sync for HedlErrorKind
impl Unpin for HedlErrorKind
impl UnwindSafe for HedlErrorKind
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<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