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,
}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).
Auto Trait Implementations§
impl Freeze for DumpOptions
impl RefUnwindSafe for DumpOptions
impl Send for DumpOptions
impl Sync for DumpOptions
impl Unpin 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