pub enum ScalingOpsError {
ScalingDisabled,
PoolNotFound(String),
InvalidKey(String),
PlanRejected(String),
}Expand description
ScalingOpsError Errors raised by scaling operations (policy / orchestration layer)
Variants§
Trait Implementations§
Source§impl Debug for ScalingOpsError
impl Debug for ScalingOpsError
Source§impl Display for ScalingOpsError
impl Display for ScalingOpsError
Source§impl Error for ScalingOpsError
impl Error for ScalingOpsError
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 From<ScalingOpsError> for Error
impl From<ScalingOpsError> for Error
Source§fn from(err: ScalingOpsError) -> Self
fn from(err: ScalingOpsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ScalingOpsError
impl RefUnwindSafe for ScalingOpsError
impl Send for ScalingOpsError
impl Sync for ScalingOpsError
impl Unpin for ScalingOpsError
impl UnwindSafe for ScalingOpsError
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