pub struct RecordOptions<'a> {Show 16 fields
pub repo: &'a Path,
pub run: &'a [String],
pub inputs: Option<&'a Path>,
pub normalize: &'a [String],
pub name: Option<&'a str>,
pub traps: bool,
pub timeout_secs: Option<u64>,
pub http: Option<bool>,
pub port: Option<u16>,
pub server_args: Option<&'a [String]>,
pub fresh: Option<&'a [String]>,
pub pace_ms: Option<u64>,
pub float_tolerance: Option<f64>,
pub float_files: &'a [String],
pub effects: Option<EffectsConfig>,
pub ready_secs: Option<u64>,
}Fields§
§repo: &'a Path§run: &'a [String]The command that runs the original; taken from the saved config when empty.
inputs: Option<&'a Path>§normalize: &'a [String]Built-in normalizer names, or name=regex for your own.
name: Option<&'a str>§traps: bool§timeout_secs: Option<u64>§http: Option<bool>Some(true) records as a server, Some(false) drops any saved server setting and records
as a CLI, and None keeps the saved mode (or enables server mode if server-only options
such as port, non-empty server_args, or pace_ms are given).
port: Option<u16>The port a server always listens on (implies http); unset keeps the saved port, Some(0)
removes it so the server gets a free port through PORT and {port}.
server_args: Option<&'a [String]>Servers: arguments every start gets after its command, the original’s and every build’s
(non-empty implies http); None keeps the saved list, Some(&[]) clears it.
fresh: Option<&'a [String]>Repository files or folders copied into a fresh working directory before every case (CLIs)
or start (servers); None keeps the saved list, Some(&[]) clears it.
pace_ms: Option<u64>Servers: milliseconds to wait after each response, for work the server does after
answering (a file watcher, a write-behind); kept from the last recording when None.
float_tolerance: Option<f64>Numbers in the output match within this tolerance; kept from the last recording when
None, removed with 0.
float_files: &'a [String]Written files of raw floats, path=f32le or path=f64le; kept from the last recording
when empty.
effects: Option<EffectsConfig>§ready_secs: Option<u64>Servers: seconds to wait for the port before giving up; kept from the last recording when
None; 0 restores the default, a minute.