pub struct HydrateArgs {
pub dir: Option<PathBuf>,
pub verify: bool,
}Fields§
§dir: Option<PathBuf>Project root to hydrate from. .asd/v1/ is appended internally.
Defaults to the current working directory. The store filled is the
.asd-state.db in that same directory unless --db/ASD_DB names
another — never a parent’s or the registry’s active repo.
verify: boolAfter hydrating, read the engine back and verify symbol, ledger, and effect counts match what was loaded. Exits non-zero on mismatch.
Trait Implementations§
Source§impl Args for HydrateArgs
impl Args for HydrateArgs
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 HydrateArgs
impl Debug for HydrateArgs
Source§impl FromArgMatches for HydrateArgs
impl FromArgMatches for HydrateArgs
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 HydrateArgs
impl RefUnwindSafe for HydrateArgs
impl Send for HydrateArgs
impl Sync for HydrateArgs
impl Unpin for HydrateArgs
impl UnsafeUnpin for HydrateArgs
impl UnwindSafe for HydrateArgs
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