pub struct InitializeTest {
pub rcfile: PathBuf,
pub logging: LevelFilter,
pub backend_opts: BackendOpts,
pub load_bitstream: LoadBitstream,
pub bootstrap: Bootstrap,
pub jtag_params: JtagParams,
}
Fields§
§rcfile: PathBuf
Filename of a default flagsfile. Relative to $XDG_CONFIG_HOME/opentitantool.
logging: LevelFilter
§backend_opts: BackendOpts
§load_bitstream: LoadBitstream
§bootstrap: Bootstrap
§jtag_params: JtagParams
Implementations§
Source§impl InitializeTest
impl InitializeTest
pub fn init_logging(&self)
pub fn parse_command_line(&self, args: ArgsOs) -> Result<Vec<OsString>>
pub fn print_result( operation: &str, result: Result<Option<Box<dyn Annotate>>>, ) -> Result<()>
pub fn init_target(&self) -> Result<TransportWrapper>
Trait Implementations§
Source§impl Args for InitializeTest
impl Args for InitializeTest
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 Debug for InitializeTest
impl Debug for InitializeTest
Source§impl FromArgMatches for InitializeTest
impl FromArgMatches for InitializeTest
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 InitializeTest
impl RefUnwindSafe for InitializeTest
impl Send for InitializeTest
impl Sync for InitializeTest
impl Unpin for InitializeTest
impl UnwindSafe for InitializeTest
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