pub enum DbdErrorReason {
NoSpaceInColumn,
NoDoubleColonInForeignKey,
NoClosingForeignKeyAngleBracket,
NoClosingAnnotationDollarSign,
NoClosingIntegerSizeAngleBracket,
InvalidIntegerSizeNumber(String),
NoClosingArraySizeSquareBracket,
InvalidArraySizeNumber(String),
InvalidLayout(String),
InvalidBuild(String),
InvalidType(String),
}Expand description
Specific reason the parser failed.
Variants§
NoSpaceInColumn
The type and name under COLUMNS were not separated by a space.
NoDoubleColonInForeignKey
The foreign key did not contain a double colon (::) in between the delimiters (</>).
NoClosingForeignKeyAngleBracket
The foreign key did not include a closing angle bracket (>).
NoClosingAnnotationDollarSign
The annotations did not include a closing dollar sign ($).
NoClosingIntegerSizeAngleBracket
The integer size did not include a closing angle bracket (>).
InvalidIntegerSizeNumber(String)
The integer size was not a valid integer.
NoClosingArraySizeSquareBracket
The array size did not include a closing square bracket (]).
InvalidArraySizeNumber(String)
The array size is not a valid integer.
InvalidLayout(String)
The layout is not a valid hex string.
InvalidBuild(String)
The build is not a valid build string (MAJOR.MINOR.PATCH.BUILD).
InvalidType(String)
The type name is not valid.
Trait Implementations§
Source§impl Clone for DbdErrorReason
impl Clone for DbdErrorReason
Source§fn clone(&self) -> DbdErrorReason
fn clone(&self) -> DbdErrorReason
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 DbdErrorReason
impl Debug for DbdErrorReason
Source§impl Display for DbdErrorReason
impl Display for DbdErrorReason
Source§impl Hash for DbdErrorReason
impl Hash for DbdErrorReason
Source§impl Ord for DbdErrorReason
impl Ord for DbdErrorReason
Source§fn cmp(&self, other: &DbdErrorReason) -> Ordering
fn cmp(&self, other: &DbdErrorReason) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DbdErrorReason
impl PartialEq for DbdErrorReason
Source§impl PartialOrd for DbdErrorReason
impl PartialOrd for DbdErrorReason
impl Eq for DbdErrorReason
impl StructuralPartialEq for DbdErrorReason
Auto Trait Implementations§
impl Freeze for DbdErrorReason
impl RefUnwindSafe for DbdErrorReason
impl Send for DbdErrorReason
impl Sync for DbdErrorReason
impl Unpin for DbdErrorReason
impl UnwindSafe for DbdErrorReason
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