pub struct CcaTestsCli {
pub test_root: PathBuf,
pub install_emu: bool,
pub update_emu: bool,
pub verbose: bool,
pub update_emu_subcmds: CcaTestsUpdateEmuSubCmds,
}Expand description
CCA test flows, including installing, updating CCA emulation environment and run OpenVMM tests
Fields§
§test_root: PathBufRoot directory for holding all CCA test related stuff
install_emu: boolInstall CCA emulation environment, including downloading emulator and building all needed firmware
update_emu: boolUpdate CCA emulation environment by rebuilding firmwares, support a few sub-commands
verbose: boolVerbose pipeline output
update_emu_subcmds: CcaTestsUpdateEmuSubCmdsTrait Implementations§
Source§impl Args for CcaTestsCli
impl Args for CcaTestsCli
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§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 FromArgMatches for CcaTestsCli
impl FromArgMatches for CcaTestsCli
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.Source§impl IntoPipeline for CcaTestsCli
impl IntoPipeline for CcaTestsCli
fn into_pipeline(self, backend_hint: PipelineBackendHint) -> Result<Pipeline>
Auto Trait Implementations§
impl Freeze for CcaTestsCli
impl RefUnwindSafe for CcaTestsCli
impl Send for CcaTestsCli
impl Sync for CcaTestsCli
impl Unpin for CcaTestsCli
impl UnsafeUnpin for CcaTestsCli
impl UnwindSafe for CcaTestsCli
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