pub enum Commands {
Parse {
file: String,
page: Option<u64>,
verbose: bool,
no_empty: bool,
json: bool,
page_size: Option<u32>,
},
Pages {
file: String,
page: Option<u64>,
verbose: bool,
show_empty: bool,
list: bool,
filter_type: Option<String>,
json: bool,
page_size: Option<u32>,
},
Dump {
file: String,
page: Option<u64>,
offset: Option<u64>,
length: Option<usize>,
raw: bool,
page_size: Option<u32>,
},
Corrupt {
file: String,
page: Option<u64>,
bytes: usize,
header: bool,
records: bool,
offset: Option<u64>,
verify: bool,
json: bool,
page_size: Option<u32>,
},
Find {
datadir: String,
page: u64,
checksum: Option<u32>,
space_id: Option<u32>,
first: bool,
json: bool,
page_size: Option<u32>,
},
Tsid {
datadir: String,
list: bool,
tablespace_id: Option<u32>,
json: bool,
page_size: Option<u32>,
},
Sdi {
file: String,
pretty: bool,
page_size: Option<u32>,
},
Log {
file: String,
blocks: Option<u64>,
no_empty: bool,
verbose: bool,
json: bool,
},
Info {
ibdata: bool,
lsn_check: bool,
datadir: Option<String>,
database: Option<String>,
table: Option<String>,
host: Option<String>,
port: Option<u16>,
user: Option<String>,
password: Option<String>,
defaults_file: Option<String>,
json: bool,
page_size: Option<u32>,
},
Checksum {
file: String,
verbose: bool,
json: bool,
page_size: Option<u32>,
},
}Variants§
Parse
Parse .ibd file and display page summary
Fields
Pages
Detailed page structure analysis
Fields
Dump
Hex dump of raw page bytes
Fields
Corrupt
Intentionally corrupt pages for testing
Fields
Find
Search for pages across data directory
Fields
Tsid
List/find tablespace IDs
Fields
Sdi
Extract SDI metadata (MySQL 8.0+)
Fields
Log
Analyze InnoDB redo log files
Fields
Info
Show InnoDB file and system information
Fields
Checksum
Validate page checksums
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
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