pub struct DefragOptions {
pub file: String,
pub output: String,
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 defrag subcommand.
Fields§
§file: StringPath to the source InnoDB tablespace file (.ibd).
output: StringPath to output file (always creates a new 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 DefragOptions
impl RefUnwindSafe for DefragOptions
impl Send for DefragOptions
impl Sync for DefragOptions
impl Unpin for DefragOptions
impl UnsafeUnpin for DefragOptions
impl UnwindSafe for DefragOptions
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