pub enum DiagnosticStableCellStatus {
Empty,
Readable,
Corrupt,
}Expand description
DiagnosticStableCellStatus
Stable-cell ledger storage status.
Variants§
Empty
The ledger memory is empty and can be initialized.
Readable
The stable-cell envelope and ledger record decoded successfully.
Corrupt
The ledger memory is present but could not be decoded as the expected stable-cell ledger record.
Trait Implementations§
Source§impl Clone for DiagnosticStableCellStatus
impl Clone for DiagnosticStableCellStatus
Source§fn clone(&self) -> DiagnosticStableCellStatus
fn clone(&self) -> DiagnosticStableCellStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiagnosticStableCellStatus
Source§impl Debug for DiagnosticStableCellStatus
impl Debug for DiagnosticStableCellStatus
Source§impl<'de> Deserialize<'de> for DiagnosticStableCellStatus
impl<'de> Deserialize<'de> for DiagnosticStableCellStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DiagnosticStableCellStatus
Source§impl PartialEq for DiagnosticStableCellStatus
impl PartialEq for DiagnosticStableCellStatus
Source§fn eq(&self, other: &DiagnosticStableCellStatus) -> bool
fn eq(&self, other: &DiagnosticStableCellStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiagnosticStableCellStatus
Auto Trait Implementations§
impl Freeze for DiagnosticStableCellStatus
impl RefUnwindSafe for DiagnosticStableCellStatus
impl Send for DiagnosticStableCellStatus
impl Sync for DiagnosticStableCellStatus
impl Unpin for DiagnosticStableCellStatus
impl UnsafeUnpin for DiagnosticStableCellStatus
impl UnwindSafe for DiagnosticStableCellStatus
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