pub enum InfrastructureBootstrapError {
RegistrationBudget {
required_cycles: u128,
available_cycles: u128,
funding_shortfall_cycles: u128,
remaining_execution_cycles: u128,
execution_shortfall_cycles: u128,
},
RegistrationApproval {
review_sha256: String,
},
InspectionBudget,
Integrity,
Observation(String),
Policy(EnsurePolicyError),
State(EnsureStateError),
Inspection(CapacityImportJournalError),
Encoding(Error),
Io(Error),
}Expand description
A bootstrap failure preserves supplied identities and all retained effect receipts.
Variants§
RegistrationBudget
Fields
RegistrationApproval
InspectionBudget
Integrity
Observation(String)
Policy(EnsurePolicyError)
State(EnsureStateError)
Inspection(CapacityImportJournalError)
Encoding(Error)
Io(Error)
Trait Implementations§
Source§impl Debug for InfrastructureBootstrapError
impl Debug for InfrastructureBootstrapError
Source§impl Error for InfrastructureBootstrapError
impl Error for InfrastructureBootstrapError
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<CapacityImportJournalError> for InfrastructureBootstrapError
impl From<CapacityImportJournalError> for InfrastructureBootstrapError
Source§fn from(source: CapacityImportJournalError) -> Self
fn from(source: CapacityImportJournalError) -> Self
Converts to this type from the input type.
Source§impl From<EnsurePolicyError> for InfrastructureBootstrapError
impl From<EnsurePolicyError> for InfrastructureBootstrapError
Source§fn from(source: EnsurePolicyError) -> Self
fn from(source: EnsurePolicyError) -> Self
Converts to this type from the input type.
Source§impl From<EnsureStateError> for InfrastructureBootstrapError
impl From<EnsureStateError> for InfrastructureBootstrapError
Source§fn from(source: EnsureStateError) -> Self
fn from(source: EnsureStateError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for InfrastructureBootstrapError
impl From<Error> for InfrastructureBootstrapError
Source§impl From<Error> for InfrastructureBootstrapError
impl From<Error> for InfrastructureBootstrapError
Source§impl From<InfrastructureBootstrapError> for IcpEnsurePlatformError
impl From<InfrastructureBootstrapError> for IcpEnsurePlatformError
Source§fn from(source: InfrastructureBootstrapError) -> Self
fn from(source: InfrastructureBootstrapError) -> Self
Converts to this type from the input type.
Source§impl<E> From<InfrastructureBootstrapError> for EnsureWorkflowError<E>where
E: Error + 'static,
impl<E> From<InfrastructureBootstrapError> for EnsureWorkflowError<E>where
E: Error + 'static,
Source§fn from(source: InfrastructureBootstrapError) -> Self
fn from(source: InfrastructureBootstrapError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for InfrastructureBootstrapError
impl !UnwindSafe for InfrastructureBootstrapError
impl Freeze for InfrastructureBootstrapError
impl Send for InfrastructureBootstrapError
impl Sync for InfrastructureBootstrapError
impl Unpin for InfrastructureBootstrapError
impl UnsafeUnpin for InfrastructureBootstrapError
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