pub struct SpawnSupervisorParams {Show 14 fields
pub job_id: String,
pub root: PathBuf,
pub full_log_path: String,
pub timeout_ms: u64,
pub kill_after_ms: u64,
pub cwd: Option<String>,
pub env_vars: Vec<String>,
pub env_files: Vec<String>,
pub inherit_env: bool,
pub progress_every_ms: u64,
pub notify_command: Option<String>,
pub notify_file: Option<String>,
pub shell_wrapper: Vec<String>,
pub command: Vec<String>,
}Expand description
Parameters for spawning a supervisor process.
Shared by run::execute and start::execute.
Fields§
§job_id: String§root: PathBuf§full_log_path: String§timeout_ms: u64§kill_after_ms: u64§cwd: Option<String>§env_vars: Vec<String>Real (unmasked) KEY=VALUE env var pairs.
env_files: Vec<String>§inherit_env: bool§progress_every_ms: u64§notify_command: Option<String>§notify_file: Option<String>§shell_wrapper: Vec<String>§command: Vec<String>Auto Trait Implementations§
impl Freeze for SpawnSupervisorParams
impl RefUnwindSafe for SpawnSupervisorParams
impl Send for SpawnSupervisorParams
impl Sync for SpawnSupervisorParams
impl Unpin for SpawnSupervisorParams
impl UnsafeUnpin for SpawnSupervisorParams
impl UnwindSafe for SpawnSupervisorParams
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