pub struct CommitSlotDiagnostic {
pub present: bool,
pub generation: Option<u64>,
pub valid: bool,
}Expand description
CommitSlotDiagnostic
Read-only diagnostic summary for one protected commit slot.
Fields§
§present: boolWhether a physical slot record is present.
generation: Option<u64>Generation encoded by the slot, if present.
valid: boolWhether marker and checksum validation succeeded.
Trait Implementations§
Source§impl Clone for CommitSlotDiagnostic
impl Clone for CommitSlotDiagnostic
Source§fn clone(&self) -> CommitSlotDiagnostic
fn clone(&self) -> CommitSlotDiagnostic
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 moreSource§impl Debug for CommitSlotDiagnostic
impl Debug for CommitSlotDiagnostic
Source§impl<'de> Deserialize<'de> for CommitSlotDiagnostic
impl<'de> Deserialize<'de> for CommitSlotDiagnostic
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
Source§impl PartialEq for CommitSlotDiagnostic
impl PartialEq for CommitSlotDiagnostic
Source§fn eq(&self, other: &CommitSlotDiagnostic) -> bool
fn eq(&self, other: &CommitSlotDiagnostic) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommitSlotDiagnostic
impl Serialize for CommitSlotDiagnostic
impl Copy for CommitSlotDiagnostic
impl Eq for CommitSlotDiagnostic
impl StructuralPartialEq for CommitSlotDiagnostic
Auto Trait Implementations§
impl Freeze for CommitSlotDiagnostic
impl RefUnwindSafe for CommitSlotDiagnostic
impl Send for CommitSlotDiagnostic
impl Sync for CommitSlotDiagnostic
impl Unpin for CommitSlotDiagnostic
impl UnsafeUnpin for CommitSlotDiagnostic
impl UnwindSafe for CommitSlotDiagnostic
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