pub struct DiffOptions {
pub file1: String,
pub file2: String,
pub verbose: bool,
pub byte_ranges: bool,
pub page: Option<u64>,
pub version_aware: bool,
pub json: bool,
pub page_size: Option<u32>,
pub keyring: Option<String>,
pub mmap: bool,
}Expand description
Options for the inno diff subcommand.
Fields§
§file1: StringPath to the first InnoDB tablespace file.
file2: StringPath to the second InnoDB tablespace file.
verbose: boolShow per-page header field diffs.
byte_ranges: boolShow byte-range diffs (requires verbose).
page: Option<u64>Compare a single page only.
version_aware: boolAnnotate diff with MySQL version information from SDI metadata.
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.
Auto Trait Implementations§
impl Freeze for DiffOptions
impl RefUnwindSafe for DiffOptions
impl Send for DiffOptions
impl Sync for DiffOptions
impl Unpin for DiffOptions
impl UnsafeUnpin for DiffOptions
impl UnwindSafe for DiffOptions
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