#[unsafe(no_mangle)]pub unsafe extern "C" fn phytrace_builder_set_operational(
builder: *mut PhyTraceBuilderHandle,
mode: i32,
state: i32,
task_id: *const c_char,
task_type: *const c_char,
uptime_sec: f64,
mission_id: *const c_char,
) -> i32Expand description
Set the operational domain on the builder.
Enum parameters use -1 for “not set”. String parameters use null. Float parameters use NAN.
§Parameters
mode—PHYTRACE_OPERATIONAL_MODE_*constant, or -1state—PHYTRACE_OPERATIONAL_STATE_*constant, or -1task_id— Current task ID string, or nulltask_type— Current task type string, or nulluptime_sec— System uptime in seconds, or NANmission_id— Mission ID string, or null