pub enum NavigationErrorCode {
UnknownRoot,
AmbiguousRoot,
NotAReference,
UnsupportedReferenceShape,
TargetColumnNotFound,
ReadOnly,
SchemaChanged,
TargetMissing,
TargetNotUnique,
}Expand description
Stable category for navigable-reference binding and execution failures.
The textual code is part of the SQL error contract. Details may gain context, but callers can classify the error without parsing prose.
Variants§
UnknownRoot
AmbiguousRoot
NotAReference
UnsupportedReferenceShape
TargetColumnNotFound
ReadOnly
SchemaChanged
TargetMissing
TargetNotUnique
Implementations§
Trait Implementations§
Source§fn clone(&self) -> NavigationErrorCode
fn clone(&self) -> NavigationErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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