pub struct RepairOptions {
pub file: Option<String>,
pub batch: Option<String>,
pub page: Option<u64>,
pub algorithm: String,
pub no_backup: bool,
pub dry_run: bool,
pub verbose: bool,
pub json: bool,
pub page_size: Option<u32>,
pub keyring: Option<String>,
pub mmap: bool,
pub audit_logger: Option<Arc<AuditLogger>>,
}Expand description
Options for the inno repair subcommand.
Fields§
§file: Option<String>Path to the InnoDB tablespace file (.ibd).
batch: Option<String>Repair all .ibd files under a data directory.
page: Option<u64>Repair only a specific page number.
algorithm: StringChecksum algorithm to use: “auto”, “crc32c”, “innodb”, “full_crc32”.
no_backup: boolSkip creating a backup before repair.
dry_run: boolShow what would be repaired without modifying the file.
verbose: boolShow per-page details.
json: boolEmit output as JSON.
page_size: Option<u32>Override the auto-detected page size.
keyring: Option<String>Path to MySQL keyring file for decrypting encrypted tablespaces.
mmap: boolUse memory-mapped I/O for file access.
audit_logger: Option<Arc<AuditLogger>>Audit logger for recording write operations.
Auto Trait Implementations§
impl Freeze for RepairOptions
impl RefUnwindSafe for RepairOptions
impl Send for RepairOptions
impl Sync for RepairOptions
impl Unpin for RepairOptions
impl UnsafeUnpin for RepairOptions
impl UnwindSafe for RepairOptions
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> 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