pub struct RunnerConfig {Show 14 fields
pub load: Option<String>,
pub pre_exit: Option<String>,
pub openocd_cfg: Option<PathBuf>,
pub gdb_connection: Option<String>,
pub gdb_logfile: Option<PathBuf>,
pub pre_runner: Option<Command>,
pub pre_runner_windows: Option<Command>,
pub post_runner: Option<Command>,
pub post_runner_windows: Option<Command>,
pub rtt_port: Option<u16>,
pub windows_sleep: Option<bool>,
pub extern_coverage: Option<ExternCoverageConfig>,
pub segger_gdb: bool,
pub data_filepath: Option<PathBuf>,
}
Fields§
§load: Option<String>
§pre_exit: Option<String>
§openocd_cfg: Option<PathBuf>
§gdb_connection: Option<String>
§gdb_logfile: Option<PathBuf>
§pre_runner: Option<Command>
§pre_runner_windows: Option<Command>
§post_runner: Option<Command>
§post_runner_windows: Option<Command>
§rtt_port: Option<u16>
§windows_sleep: Option<bool>
§extern_coverage: Option<ExternCoverageConfig>
§segger_gdb: bool
true
: Uses RTT commands to communicate with SEGGER GDB instead of the monitor rtt
commands from OpenOCD.
Default: false
data_filepath: Option<PathBuf>
Path to look for custom JSON data that is linked with the test run.
Default: .embedded/test_run_data.json
Implementations§
Trait Implementations§
Source§impl Clone for RunnerConfig
impl Clone for RunnerConfig
Source§fn clone(&self) -> RunnerConfig
fn clone(&self) -> RunnerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RunnerConfig
impl Debug for RunnerConfig
Source§impl Default for RunnerConfig
impl Default for RunnerConfig
Source§fn default() -> RunnerConfig
fn default() -> RunnerConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunnerConfig
impl<'de> Deserialize<'de> for RunnerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RunnerConfig
impl RefUnwindSafe for RunnerConfig
impl Send for RunnerConfig
impl Sync for RunnerConfig
impl Unpin for RunnerConfig
impl UnwindSafe for RunnerConfig
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