pub struct PageRecoveryStatus {
pub page_number: u64,
pub page_type: String,
pub index_id: Option<u64>,
pub checksum_valid: bool,
pub lsn_consistent: bool,
pub corruption_pattern: Option<String>,
pub record_count: Option<u16>,
pub btree_level: Option<u16>,
pub min_recovery_level: u8,
}Expand description
Per-page recovery classification.
Fields§
§page_number: u64Page number within the tablespace.
page_type: StringPage type string (e.g., “INDEX”, “UNDO_LOG”, “FSP_HDR”).
index_id: Option<u64>InnoDB index ID (only for INDEX pages).
checksum_valid: boolWhether the stored checksum is valid.
lsn_consistent: boolWhether header and trailer LSN values are consistent.
corruption_pattern: Option<String>Corruption pattern classification (only for corrupt pages).
record_count: Option<u16>Number of user records on the page (INDEX pages only).
btree_level: Option<u16>B+Tree level (0 = leaf; INDEX pages only).
min_recovery_level: u8Minimum innodb_force_recovery level required to access this page.
Trait Implementations§
Source§impl Clone for PageRecoveryStatus
impl Clone for PageRecoveryStatus
Source§fn clone(&self) -> PageRecoveryStatus
fn clone(&self) -> PageRecoveryStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 PageRecoveryStatus
impl Debug for PageRecoveryStatus
Auto Trait Implementations§
impl Freeze for PageRecoveryStatus
impl RefUnwindSafe for PageRecoveryStatus
impl Send for PageRecoveryStatus
impl Sync for PageRecoveryStatus
impl Unpin for PageRecoveryStatus
impl UnsafeUnpin for PageRecoveryStatus
impl UnwindSafe for PageRecoveryStatus
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more