pub struct DumpOptions {
pub file: String,
pub page: Option<u64>,
pub offset: Option<u64>,
pub length: Option<usize>,
pub raw: bool,
pub page_size: Option<u32>,
pub keyring: Option<String>,
pub decrypt: bool,
pub mmap: bool,
}Expand description
Options for the inno dump subcommand.
Fields§
§file: StringPath to the InnoDB tablespace file (.ibd).
page: Option<u64>Page number to dump (defaults to page 0 when not specified).
offset: Option<u64>Absolute byte offset to start dumping (bypasses page mode).
length: Option<usize>Number of bytes to dump (defaults to page size in page mode, or 256 in offset mode).
raw: boolOutput raw binary bytes instead of formatted hex dump.
page_size: Option<u32>Override the auto-detected page size.
keyring: Option<String>Path to MySQL keyring file for decrypting encrypted tablespaces.
decrypt: boolDecrypt page before dumping (requires –keyring).
mmap: boolUse memory-mapped I/O for file access.
Auto Trait Implementations§
impl Freeze for DumpOptions
impl RefUnwindSafe for DumpOptions
impl Send for DumpOptions
impl Sync for DumpOptions
impl Unpin for DumpOptions
impl UnsafeUnpin for DumpOptions
impl UnwindSafe for DumpOptions
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