pub struct TransplantOptions {
pub donor: String,
pub target: String,
pub pages: Vec<u64>,
pub no_backup: bool,
pub force: 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 transplant subcommand.
Fields§
§donor: StringPath to the donor tablespace file (source of pages).
target: StringPath to the target tablespace file (destination for pages).
pages: Vec<u64>Page numbers to transplant from donor to target.
no_backup: boolSkip creating a backup of the target.
force: boolAllow transplanting despite space ID mismatch or corrupt donor pages.
dry_run: boolPreview without modifying the target 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 TransplantOptions
impl RefUnwindSafe for TransplantOptions
impl Send for TransplantOptions
impl Sync for TransplantOptions
impl Unpin for TransplantOptions
impl UnsafeUnpin for TransplantOptions
impl UnwindSafe for TransplantOptions
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