pub struct CompatOptions {
pub file: Option<String>,
pub scan: Option<String>,
pub target: String,
pub verbose: bool,
pub json: bool,
pub page_size: Option<u32>,
pub keyring: Option<String>,
pub mmap: bool,
pub depth: Option<u32>,
}Expand description
Options for the inno compat subcommand.
Fields§
§file: Option<String>Path to a single InnoDB data file (.ibd).
scan: Option<String>Path to a data directory to scan.
target: StringTarget MySQL version (e.g., “8.4.0”, “9.0.0”).
verbose: boolShow detailed check information.
json: boolOutput in JSON format.
page_size: Option<u32>Override page size (default: auto-detect).
keyring: Option<String>Path to MySQL keyring file for decrypting encrypted tablespaces.
mmap: boolUse memory-mapped I/O.
depth: Option<u32>Maximum directory recursion depth (None = default 2, Some(0) = unlimited).
Auto Trait Implementations§
impl Freeze for CompatOptions
impl RefUnwindSafe for CompatOptions
impl Send for CompatOptions
impl Sync for CompatOptions
impl Unpin for CompatOptions
impl UnsafeUnpin for CompatOptions
impl UnwindSafe for CompatOptions
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