pub enum PrimaryKeyEncodeError {
UnsupportedComponentKind {
kind: &'static str,
},
TooFewComponents {
count: usize,
min: usize,
},
TooManyComponents {
count: usize,
max: usize,
},
UnitComponent {
index: usize,
},
}Expand description
PrimaryKeyEncodeError
Typed primary-key admission errors. This is deliberately separate from compact row-key encoding so composite keys do not inherit scalar-only compatibility lanes.
Variants§
Trait Implementations§
Source§impl Debug for PrimaryKeyEncodeError
impl Debug for PrimaryKeyEncodeError
Source§impl From<PrimaryKeyEncodeError> for InternalError
impl From<PrimaryKeyEncodeError> for InternalError
Source§fn from(_err: PrimaryKeyEncodeError) -> Self
fn from(_err: PrimaryKeyEncodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrimaryKeyEncodeError
impl RefUnwindSafe for PrimaryKeyEncodeError
impl Send for PrimaryKeyEncodeError
impl Sync for PrimaryKeyEncodeError
impl Unpin for PrimaryKeyEncodeError
impl UnsafeUnpin for PrimaryKeyEncodeError
impl UnwindSafe for PrimaryKeyEncodeError
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