pub struct RecoverOptions {
pub file: String,
pub page: Option<u64>,
pub verbose: bool,
pub json: bool,
pub force: bool,
pub page_size: Option<u32>,
pub keyring: Option<String>,
pub threads: usize,
pub mmap: bool,
pub streaming: bool,
pub rebuild: Option<String>,
}Expand description
Options for the inno recover subcommand.
Fields§
§file: StringPath to the InnoDB tablespace file (.ibd).
page: Option<u64>Analyze a single page instead of full scan.
verbose: boolShow per-page details.
json: boolEmit output as JSON.
force: boolExtract records from corrupt pages with valid headers.
page_size: Option<u32>Override the auto-detected page size.
keyring: Option<String>Path to MySQL keyring file for decrypting encrypted tablespaces.
threads: usizeNumber of threads for parallel processing (0 = auto-detect).
mmap: boolUse memory-mapped I/O for file access.
streaming: boolStream results incrementally for lower memory usage.
rebuild: Option<String>Path to write a new tablespace from recoverable pages.
Auto Trait Implementations§
impl Freeze for RecoverOptions
impl RefUnwindSafe for RecoverOptions
impl Send for RecoverOptions
impl Sync for RecoverOptions
impl Unpin for RecoverOptions
impl UnsafeUnpin for RecoverOptions
impl UnwindSafe for RecoverOptions
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