pub enum ShardingOpsError {
PoolNotFound(String),
ShardCapReached,
ShardCreationBlocked(String),
ShardFull(Principal),
ShardNotFound(Principal),
ShardingDisabled,
TenantNotFound(String),
}Expand description
ShardingOpsError Logical or configuration errors that occur during sharding planning.
Variants§
PoolNotFound(String)
ShardCapReached
ShardCreationBlocked(String)
ShardFull(Principal)
ShardNotFound(Principal)
ShardingDisabled
TenantNotFound(String)
Trait Implementations§
Source§impl Debug for ShardingOpsError
impl Debug for ShardingOpsError
Source§impl Display for ShardingOpsError
impl Display for ShardingOpsError
Source§impl Error for ShardingOpsError
impl Error for ShardingOpsError
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ShardingOpsError> for Error
impl From<ShardingOpsError> for Error
Source§fn from(err: ShardingOpsError) -> Self
fn from(err: ShardingOpsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ShardingOpsError
impl RefUnwindSafe for ShardingOpsError
impl Send for ShardingOpsError
impl Sync for ShardingOpsError
impl Unpin for ShardingOpsError
impl UnwindSafe for ShardingOpsError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more