pub struct RecoveryIntegrityDiagnostic {Show 14 fields
pub kind: RecoveryIntegrityKind,
pub segment_filename: String,
pub manifest_path: PathBuf,
pub wal_dir: PathBuf,
pub recovery_mode: RecoveryMode,
pub durable_seq: u64,
pub visible_seq: u64,
pub active_segment_seq: u64,
pub segment_seq: u64,
pub latest_checkpoint_seq: Option<u64>,
pub expected_size_bytes: Option<u64>,
pub actual_size_bytes: Option<u64>,
pub expected_sha256_hex: Option<String>,
pub actual_sha256_hex: Option<String>,
}Fields§
§kind: RecoveryIntegrityKind§segment_filename: String§manifest_path: PathBuf§wal_dir: PathBuf§recovery_mode: RecoveryMode§durable_seq: u64§visible_seq: u64§active_segment_seq: u64§segment_seq: u64§latest_checkpoint_seq: Option<u64>§expected_size_bytes: Option<u64>§actual_size_bytes: Option<u64>§expected_sha256_hex: Option<String>§actual_sha256_hex: Option<String>Implementations§
Source§impl RecoveryIntegrityDiagnostic
impl RecoveryIntegrityDiagnostic
pub fn operator_message(&self) -> &'static str
Trait Implementations§
Source§impl Clone for RecoveryIntegrityDiagnostic
impl Clone for RecoveryIntegrityDiagnostic
Source§fn clone(&self) -> RecoveryIntegrityDiagnostic
fn clone(&self) -> RecoveryIntegrityDiagnostic
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 RecoveryIntegrityDiagnostic
impl Debug for RecoveryIntegrityDiagnostic
Source§impl<'de> Deserialize<'de> for RecoveryIntegrityDiagnostic
impl<'de> Deserialize<'de> for RecoveryIntegrityDiagnostic
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 RecoveryIntegrityDiagnostic
Source§impl PartialEq for RecoveryIntegrityDiagnostic
impl PartialEq for RecoveryIntegrityDiagnostic
Source§fn eq(&self, other: &RecoveryIntegrityDiagnostic) -> bool
fn eq(&self, other: &RecoveryIntegrityDiagnostic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecoveryIntegrityDiagnostic
Auto Trait Implementations§
impl Freeze for RecoveryIntegrityDiagnostic
impl RefUnwindSafe for RecoveryIntegrityDiagnostic
impl Send for RecoveryIntegrityDiagnostic
impl Sync for RecoveryIntegrityDiagnostic
impl Unpin for RecoveryIntegrityDiagnostic
impl UnsafeUnpin for RecoveryIntegrityDiagnostic
impl UnwindSafe for RecoveryIntegrityDiagnostic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more