pub enum PoolMaintenanceResponse {
Maintained,
MaintenancePaused {
reason: String,
},
Created {
canister_id: Principal,
},
RefillWaitingForCycles {
available: Cycles,
creation_amount: Cycles,
},
RefillPending {
operation_id: [u8; 32],
uncertain_result: bool,
},
RefillBlocked {
operation_id: [u8; 32],
failure: CanisterPoolCreationFailure,
},
ResetReady {
canister_id: Principal,
},
ResetFailed {
canister_id: Principal,
reason: String,
},
}Expand description
Narrow result of one explicit maintenance pass.
Variants§
Maintained
MaintenancePaused
Created
RefillWaitingForCycles
RefillPending
RefillBlocked
ResetReady
ResetFailed
Trait Implementations§
Source§impl CandidType for PoolMaintenanceResponse
impl CandidType for PoolMaintenanceResponse
Source§impl Clone for PoolMaintenanceResponse
impl Clone for PoolMaintenanceResponse
Source§fn clone(&self) -> PoolMaintenanceResponse
fn clone(&self) -> PoolMaintenanceResponse
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 moreSource§impl Debug for PoolMaintenanceResponse
impl Debug for PoolMaintenanceResponse
Source§impl<'de> Deserialize<'de> for PoolMaintenanceResponse
impl<'de> Deserialize<'de> for PoolMaintenanceResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PoolMaintenanceResponse
Source§impl PartialEq for PoolMaintenanceResponse
impl PartialEq for PoolMaintenanceResponse
impl StructuralPartialEq for PoolMaintenanceResponse
Auto Trait Implementations§
impl Freeze for PoolMaintenanceResponse
impl RefUnwindSafe for PoolMaintenanceResponse
impl Send for PoolMaintenanceResponse
impl Sync for PoolMaintenanceResponse
impl Unpin for PoolMaintenanceResponse
impl UnsafeUnpin for PoolMaintenanceResponse
impl UnwindSafe for PoolMaintenanceResponse
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