pub enum TenantDataAccessErrorReason {
EmptyKey,
KeyTooLong,
ReservedKey,
ValueTooLong,
InvalidRange,
ReservedRange,
InvalidRangeLimit,
KeyChangingMutation,
}Expand description
A finite reason for rejecting an application key or range.
Variants§
EmptyKey
Keys cannot be empty.
KeyTooLong
FoundationDB cannot accept a key above its size limit.
ReservedKey
Kit metadata and FoundationDB system keys are outside application access.
ValueTooLong
FoundationDB cannot accept a value above its size limit.
InvalidRange
A range must have a non-empty, increasing interval.
ReservedRange
A range could read or clear the kit’s metadata keys.
InvalidRangeLimit
Range reads and transaction options must have bounded limits.
KeyChangingMutation
A mutation is prohibited by the transaction policy or key boundary.
Trait Implementations§
Source§impl Clone for TenantDataAccessErrorReason
impl Clone for TenantDataAccessErrorReason
impl Copy for TenantDataAccessErrorReason
Source§impl Debug for TenantDataAccessErrorReason
impl Debug for TenantDataAccessErrorReason
impl Eq for TenantDataAccessErrorReason
Source§impl Error for TenantDataAccessErrorReason
impl Error for TenantDataAccessErrorReason
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()
impl StructuralPartialEq for TenantDataAccessErrorReason
Auto Trait Implementations§
impl Freeze for TenantDataAccessErrorReason
impl RefUnwindSafe for TenantDataAccessErrorReason
impl Send for TenantDataAccessErrorReason
impl Sync for TenantDataAccessErrorReason
impl Unpin for TenantDataAccessErrorReason
impl UnsafeUnpin for TenantDataAccessErrorReason
impl UnwindSafe for TenantDataAccessErrorReason
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