pub struct RecoverArgs {
pub accept_data_loss: bool,
pub truncate_wal: bool,
pub rebuild_vec0: bool,
pub rebuild_projections: bool,
pub excise_source: Option<String>,
pub json: bool,
pub db_path: PathBuf,
}Expand description
Argument set for the recover root command.
--accept-data-loss is declared on this parser only; doctor verbs reject
it as unknown.
Fields§
§accept_data_loss: boolRequired acknowledgement that the workflow may discard data.
truncate_wal: boolTruncate the SQLite WAL after replay.
rebuild_vec0: boolRebuild the vec0 shadow tables from canonical state.
rebuild_projections: boolRebuild projection materializations.
excise_source: Option<String>Excise the named source row from the canonical store.
json: boolEmit machine-readable JSON output.
db_path: PathBufPath to the database file to recover.
Trait Implementations§
Source§impl Args for RecoverArgs
impl Args for RecoverArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for RecoverArgs
impl Debug for RecoverArgs
Source§impl FromArgMatches for RecoverArgs
impl FromArgMatches for RecoverArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for RecoverArgs
impl RefUnwindSafe for RecoverArgs
impl Send for RecoverArgs
impl Sync for RecoverArgs
impl Unpin for RecoverArgs
impl UnsafeUnpin for RecoverArgs
impl UnwindSafe for RecoverArgs
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