pub enum RuntimeDiagnosticError {
NotBootstrapped,
LedgerCommit(LedgerCommitError),
StableCellLedger(StableCellLedgerError),
MemoryManagerSlot(MemoryManagerSlotError),
}Expand description
RuntimeDiagnosticError
Failure to build diagnostics for the default MemoryManager runtime.
Variants§
NotBootstrapped
Runtime bootstrap has not opened and validated the ledger cell.
LedgerCommit(LedgerCommitError)
The recovered allocation ledger failed protected commit validation.
StableCellLedger(StableCellLedgerError)
Stable-cell ledger storage is corrupt before protected recovery can run.
MemoryManagerSlot(MemoryManagerSlotError)
A committed allocation slot was not a usable MemoryManager ID.
Trait Implementations§
Source§impl Debug for RuntimeDiagnosticError
impl Debug for RuntimeDiagnosticError
Source§impl Display for RuntimeDiagnosticError
impl Display for RuntimeDiagnosticError
Source§impl Error for RuntimeDiagnosticError
impl Error for RuntimeDiagnosticError
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<LedgerCommitError> for RuntimeDiagnosticError
impl From<LedgerCommitError> for RuntimeDiagnosticError
Source§fn from(source: LedgerCommitError) -> Self
fn from(source: LedgerCommitError) -> Self
Converts to this type from the input type.
Source§impl From<MemoryManagerSlotError> for RuntimeDiagnosticError
impl From<MemoryManagerSlotError> for RuntimeDiagnosticError
Source§fn from(source: MemoryManagerSlotError) -> Self
fn from(source: MemoryManagerSlotError) -> Self
Converts to this type from the input type.
Source§impl From<StableCellLedgerError> for RuntimeDiagnosticError
impl From<StableCellLedgerError> for RuntimeDiagnosticError
Source§fn from(source: StableCellLedgerError) -> Self
fn from(source: StableCellLedgerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeDiagnosticError
impl !UnwindSafe for RuntimeDiagnosticError
impl Freeze for RuntimeDiagnosticError
impl Send for RuntimeDiagnosticError
impl Sync for RuntimeDiagnosticError
impl Unpin for RuntimeDiagnosticError
impl UnsafeUnpin for RuntimeDiagnosticError
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