pub enum FdbQueryErrorReason {
TransactionFailed,
TupleDecodeFailed,
TupleShapeInvalid,
ValueDecodeFailed,
IntegerOverflow,
InvalidPageSize,
InvalidRangePrefix,
MetadataKeyInvalid,
}Expand description
Stable query and value-decoding failure reasons.
Variants§
TransactionFailed
A transaction operation failed.
TupleDecodeFailed
A FoundationDB tuple could not be decoded.
TupleShapeInvalid
A tuple did not match the required domain shape.
ValueDecodeFailed
A stored value could not be decoded.
IntegerOverflow
Checked arithmetic or numeric conversion overflowed.
InvalidPageSize
A requested page size was zero or outside policy.
InvalidRangePrefix
A prefix could not produce a bounded exclusive range end.
MetadataKeyInvalid
A tenant metadata key could not be constructed.
Trait Implementations§
Source§impl Clone for FdbQueryErrorReason
impl Clone for FdbQueryErrorReason
impl Copy for FdbQueryErrorReason
Source§impl Debug for FdbQueryErrorReason
impl Debug for FdbQueryErrorReason
Source§impl Display for FdbQueryErrorReason
impl Display for FdbQueryErrorReason
impl Eq for FdbQueryErrorReason
Source§impl Error for FdbQueryErrorReason
impl Error for FdbQueryErrorReason
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 FdbQueryErrorReason
impl PartialEq for FdbQueryErrorReason
impl StructuralPartialEq for FdbQueryErrorReason
Auto Trait Implementations§
impl Freeze for FdbQueryErrorReason
impl RefUnwindSafe for FdbQueryErrorReason
impl Send for FdbQueryErrorReason
impl Sync for FdbQueryErrorReason
impl Unpin for FdbQueryErrorReason
impl UnsafeUnpin for FdbQueryErrorReason
impl UnwindSafe for FdbQueryErrorReason
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