pub enum RegionError {
Show 26 variants
AuthorityMismatch,
EpochRollback {
trusted: AuthorityEpoch,
received: AuthorityEpoch,
},
WrongEpoch {
available: AuthorityEpoch,
required: AuthorityEpoch,
},
MissingSessionWatermark,
ReplicaTooStale {
available: Sequence,
required: Sequence,
},
AuthorizationTooStale {
available: Option<Sequence>,
required: Sequence,
},
StalenessBudgetExceeded,
NotReadReplica,
NotAuthorityWriter,
ReplicaUnavailable,
NoEligibleReplica,
AuthorityUnavailable,
ProjectionUnavailable,
ProjectionIncompatible,
ProjectionGap {
current: Sequence,
incoming: Sequence,
},
InvalidLoad,
UnboundedReplicaWait,
InvalidEndpoint,
ResidencyViolation,
UntrustedDirectoryAssignment,
DirectoryRollback,
TenantAssignmentMissing,
StaleControlPlane,
ArtifactIntegrityUnverified,
RegionalCopyMissing,
InvalidPurgeTransition,
}Expand description
Typed regional correctness and availability failures.
Variants§
AuthorityMismatch
EpochRollback
WrongEpoch
MissingSessionWatermark
ReplicaTooStale
AuthorizationTooStale
StalenessBudgetExceeded
NotReadReplica
NotAuthorityWriter
NoEligibleReplica
ProjectionIncompatible
ProjectionGap
InvalidLoad
UnboundedReplicaWait
InvalidEndpoint
ResidencyViolation
UntrustedDirectoryAssignment
DirectoryRollback
TenantAssignmentMissing
StaleControlPlane
ArtifactIntegrityUnverified
RegionalCopyMissing
InvalidPurgeTransition
Trait Implementations§
Source§impl Clone for RegionError
impl Clone for RegionError
Source§fn clone(&self) -> RegionError
fn clone(&self) -> RegionError
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 moreimpl Copy for RegionError
Source§impl Debug for RegionError
impl Debug for RegionError
Source§impl Display for RegionError
impl Display for RegionError
impl Eq for RegionError
Source§impl Error for RegionError
impl Error for RegionError
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 RegionError
impl PartialEq for RegionError
impl StructuralPartialEq for RegionError
Auto Trait Implementations§
impl Freeze for RegionError
impl RefUnwindSafe for RegionError
impl Send for RegionError
impl Sync for RegionError
impl Unpin for RegionError
impl UnsafeUnpin for RegionError
impl UnwindSafe for RegionError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more