pub enum RootPoolCapacityError {
Insufficient {
component_spec: ComponentSpecId,
pool_target_cycles: u128,
required_cycles: u128,
root: String,
},
UnknownComponentSpec {
component_spec: ComponentSpecId,
root: String,
},
}Expand description
Exact fail-closed mismatch between admitted Component demand and pool capacity.
Variants§
Trait Implementations§
Source§impl Debug for RootPoolCapacityError
impl Debug for RootPoolCapacityError
Source§impl Display for RootPoolCapacityError
impl Display for RootPoolCapacityError
impl Eq for RootPoolCapacityError
Source§impl Error for RootPoolCapacityError
impl Error for RootPoolCapacityError
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<RootPoolCapacityError> for FleetGenerateError
impl From<RootPoolCapacityError> for FleetGenerateError
Source§fn from(source: RootPoolCapacityError) -> Self
fn from(source: RootPoolCapacityError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RootPoolCapacityError
impl PartialEq for RootPoolCapacityError
impl StructuralPartialEq for RootPoolCapacityError
Auto Trait Implementations§
impl Freeze for RootPoolCapacityError
impl RefUnwindSafe for RootPoolCapacityError
impl Send for RootPoolCapacityError
impl Sync for RootPoolCapacityError
impl Unpin for RootPoolCapacityError
impl UnsafeUnpin for RootPoolCapacityError
impl UnwindSafe for RootPoolCapacityError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CustomError for T
impl<T> CustomError for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.