pub enum ShardRoutingSwitchError {
AlreadyStable,
InvalidActiveCount,
NotMultiRaft,
}Expand description
Why a Tier 1 → Tier 2 routing switch was rejected.
Variants§
AlreadyStable
Stable virtual routing is already active.
InvalidActiveCount
Active shard count must be at least 1.
NotMultiRaft
Routing switch requires multi-Raft (raft_groups > 1).
Trait Implementations§
Source§impl Clone for ShardRoutingSwitchError
impl Clone for ShardRoutingSwitchError
Source§fn clone(&self) -> ShardRoutingSwitchError
fn clone(&self) -> ShardRoutingSwitchError
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 ShardRoutingSwitchError
Source§impl Debug for ShardRoutingSwitchError
impl Debug for ShardRoutingSwitchError
Source§impl Display for ShardRoutingSwitchError
impl Display for ShardRoutingSwitchError
impl Eq for ShardRoutingSwitchError
Source§impl Error for ShardRoutingSwitchError
impl Error for ShardRoutingSwitchError
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 ShardRoutingSwitchError
impl PartialEq for ShardRoutingSwitchError
impl StructuralPartialEq for ShardRoutingSwitchError
Auto Trait Implementations§
impl Freeze for ShardRoutingSwitchError
impl RefUnwindSafe for ShardRoutingSwitchError
impl Send for ShardRoutingSwitchError
impl Sync for ShardRoutingSwitchError
impl Unpin for ShardRoutingSwitchError
impl UnsafeUnpin for ShardRoutingSwitchError
impl UnwindSafe for ShardRoutingSwitchError
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