agentos_v8_runtime/
ipc.rs1use std::collections::HashMap;
7
8#[derive(Debug, Clone, PartialEq)]
10pub struct ProcessConfig {
11 pub cwd: String,
12 pub env: HashMap<String, String>,
13 pub timing_mitigation: String,
14 pub frozen_time_ms: Option<f64>,
15 pub high_resolution_time: bool,
16}
17
18#[derive(Debug, Clone, PartialEq)]
20pub struct OsConfig {
21 pub homedir: String,
22 pub tmpdir: String,
23 pub platform: String,
24 pub arch: String,
25}
26
27#[derive(Debug, Clone, PartialEq)]
29pub struct ExecutionError {
30 pub error_type: String,
31 pub message: String,
32 pub stack: String,
33 pub code: Option<String>,
34}