pub enum DiagnosticCode {
Show 13 variants
EagerInit,
DeclarationRegistry,
RangeRegistry,
RangeAuthority,
DeclarationSnapshot,
StableCell,
UnsupportedFormat,
LedgerRecovery,
GenesisLedger,
AllocationValidation,
PolicyIdentity,
RuntimeBinding,
MemorySize,
}Expand description
DiagnosticCode
Stable machine-readable category for an operator diagnostic failure.
Variants§
EagerInit
Deferred static initialization could not run.
DeclarationRegistry
Static allocation declarations could not be read.
RangeRegistry
Static range declarations could not be read.
RangeAuthority
Effective range authority could not be constructed or applied.
DeclarationSnapshot
Registered declarations could not form a valid snapshot.
StableCell
Stable-cell storage could not be decoded.
UnsupportedFormat
Persisted bytes use a recognized but unsupported durable format.
LedgerRecovery
Protected ledger recovery failed.
GenesisLedger
An empty current-format genesis ledger could not be constructed.
AllocationValidation
Current declarations failed allocation validation.
PolicyIdentity
Runtime bootstrap policy identity was invalid.
RuntimeBinding
Tested bootstrap identity or declarations differ from runtime state.
MemorySize
Live memory size could not be measured for one allocation.
Trait Implementations§
Source§impl Clone for DiagnosticCode
impl Clone for DiagnosticCode
Source§fn clone(&self) -> DiagnosticCode
fn clone(&self) -> DiagnosticCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more