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
sourceimpl Debug for DbCommands
impl Debug for DbCommands
sourceimpl FromArgMatches for DbCommands
impl FromArgMatches for DbCommands
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
sourcefn 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>
sourcefn 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
.sourcefn 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
.sourceimpl Subcommand for DbCommands
impl Subcommand for DbCommands
sourcefn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
sourcefn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
sourcefn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandAuto Trait Implementations
impl RefUnwindSafe for DbCommands
impl Send for DbCommands
impl Sync for DbCommands
impl Unpin for DbCommands
impl UnwindSafe for DbCommands
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more