#[non_exhaustive]pub enum RuntimeBootstrapError<P> {
PolicyIdentity(PolicyIdentityError),
DeclarationSnapshotMismatch,
PolicyIdentityMismatch {
established: PolicyIdentity,
requested: PolicyIdentity,
},
Registry(StaticMemoryDeclarationError),
LedgerIntegrity(LedgerIntegrityError),
LedgerCommit(LedgerCommitError),
StableCellLedger(StableCellLedgerError),
StableCellLedgerWriteTooLarge {
value_size: usize,
},
Validation(AllocationValidationError<RuntimePolicyError<P>>),
Staging(AllocationStageError),
State(RuntimeStateError),
}Expand description
RuntimeBootstrapError
Failure to bootstrap one MemoryRuntime.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PolicyIdentity(PolicyIdentityError)
The policy did not provide a valid bounded semantic identity.
DeclarationSnapshotMismatch
A bootstrapped runtime was called with a different declaration snapshot.
PolicyIdentityMismatch
A bootstrapped runtime was called with a different policy identity.
Fields
established: PolicyIdentityPolicy identity established by successful bootstrap.
requested: PolicyIdentityPolicy identity supplied by the repeated call.
Registry(StaticMemoryDeclarationError)
Linked-program declaration snapshot sealing failed.
LedgerIntegrity(LedgerIntegrityError)
Runtime ledger genesis construction failed.
LedgerCommit(LedgerCommitError)
Protected ledger recovery or commit failed.
StableCellLedger(StableCellLedgerError)
Stable-cell ledger storage is corrupt before protected recovery can run.
StableCellLedgerWriteTooLarge
Stable-cell ledger storage cannot fit the next protected ledger record.
Validation(AllocationValidationError<RuntimePolicyError<P>>)
Declaration validation failed.
Staging(AllocationStageError)
Validated declarations could not be staged.
State(RuntimeStateError)
Runtime lifecycle or default TLS access failed.
Trait Implementations§
Source§impl<P: Debug> Debug for RuntimeBootstrapError<P>
impl<P: Debug> Debug for RuntimeBootstrapError<P>
Source§impl<P> Display for RuntimeBootstrapError<P>
impl<P> Display for RuntimeBootstrapError<P>
Source§impl<P> Error for RuntimeBootstrapError<P>
impl<P> Error for RuntimeBootstrapError<P>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()