pub enum PrimaryKeyError {
NotConfigured {
table: String,
},
ColumnNotFound {
table: String,
column: String,
},
AllNull {
table: String,
columns: Vec<String>,
},
}Expand description
Primary key related error types
Variants§
NotConfigured
No primary key configured for table
ColumnNotFound
Primary key column not found in row
AllNull
All primary key values are NULL
Trait Implementations§
Source§impl Debug for PrimaryKeyError
impl Debug for PrimaryKeyError
Auto Trait Implementations§
impl Freeze for PrimaryKeyError
impl RefUnwindSafe for PrimaryKeyError
impl Send for PrimaryKeyError
impl Sync for PrimaryKeyError
impl Unpin for PrimaryKeyError
impl UnsafeUnpin for PrimaryKeyError
impl UnwindSafe for PrimaryKeyError
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