pub enum TableDefError {
EmptyTableName,
DuplicateColumn(String),
InvalidPrimaryKey(String),
InvalidIndexColumn(String),
InvalidConstraintColumn(String),
TruncatedData,
InvalidMagic,
InvalidDataType,
InvalidIndexType,
InvalidConstraintType,
VarintOverflow,
}Expand description
Errors produced by table validation or table-definition decoding.
Variants§
EmptyTableName
DuplicateColumn(String)
InvalidPrimaryKey(String)
InvalidIndexColumn(String)
InvalidConstraintColumn(String)
TruncatedData
InvalidMagic
InvalidDataType
InvalidIndexType
InvalidConstraintType
VarintOverflow
Trait Implementations§
Source§impl Clone for TableDefError
impl Clone for TableDefError
Source§impl Debug for TableDefError
impl Debug for TableDefError
Source§impl Display for TableDefError
impl Display for TableDefError
impl Eq for TableDefError
Source§impl Error for TableDefError
impl Error for TableDefError
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 TableDefError
impl PartialEq for TableDefError
impl StructuralPartialEq for TableDefError
Auto Trait Implementations§
impl Freeze for TableDefError
impl RefUnwindSafe for TableDefError
impl Send for TableDefError
impl Sync for TableDefError
impl Unpin for TableDefError
impl UnsafeUnpin for TableDefError
impl UnwindSafe for TableDefError
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