pub enum StableCellLedgerError {
Payload(StableCellPayloadError),
Record(Error),
}Expand description
StableCellLedgerError
Stable-cell ledger record validation failure.
Variants§
Payload(StableCellPayloadError)
Stable-cell envelope is corrupt or unsupported.
Record(Error)
Stable-cell value bytes are not a valid ledger record.
Trait Implementations§
Source§impl Debug for StableCellLedgerError
impl Debug for StableCellLedgerError
Source§impl Display for StableCellLedgerError
impl Display for StableCellLedgerError
Source§impl Error for StableCellLedgerError
impl Error for StableCellLedgerError
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<P> From<StableCellLedgerError> for RuntimeBootstrapError<P>
impl<P> From<StableCellLedgerError> for RuntimeBootstrapError<P>
Source§fn from(source: StableCellLedgerError) -> Self
fn from(source: StableCellLedgerError) -> Self
Converts to this type from the input type.
Source§impl From<StableCellPayloadError> for StableCellLedgerError
impl From<StableCellPayloadError> for StableCellLedgerError
Source§fn from(source: StableCellPayloadError) -> Self
fn from(source: StableCellPayloadError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StableCellLedgerError
impl !RefUnwindSafe for StableCellLedgerError
impl Send for StableCellLedgerError
impl Sync for StableCellLedgerError
impl Unpin for StableCellLedgerError
impl UnsafeUnpin for StableCellLedgerError
impl !UnwindSafe for StableCellLedgerError
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