Enum kanidmd::DbCommands
source · pub(crate) enum DbCommands {
Vacuum(CommonOpt),
Backup(BackupOpt),
Restore(RestoreOpt),
Verify(CommonOpt),
Reindex(CommonOpt),
}
Variants§
Vacuum(CommonOpt)
Vacuum the database to reclaim space or change db_fs_type/page_size (offline)
Backup(BackupOpt)
Backup the database content (offline)
Restore(RestoreOpt)
Restore the database content (offline)
Verify(CommonOpt)
Verify database and entity consistency.
Reindex(CommonOpt)
Reindex the database (offline)
Trait Implementations§
source§impl Debug for DbCommands
impl Debug for DbCommands
source§impl FromArgMatches for DbCommands
impl FromArgMatches for DbCommands
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 DbCommands
impl Subcommand for DbCommands
source§fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
source§fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommand