pub struct Request {
pub program: String,
pub args: Vec<String>,
pub cwd: Option<PathBuf>,
pub env: BTreeMap<String, String>,
pub timeout: Duration,
pub child_exe: PathBuf,
pub account: Account,
pub poll: Duration,
pub start_grace: Duration,
}Expand description
One interactive run.
Fields§
§program: String§args: Vec<String>§cwd: Option<PathBuf>§env: BTreeMap<String, String>§timeout: DurationWhole-run limit, also the task’s execution time limit (plus a margin).
child_exe: PathBufThis executable (it must implement __child, see the rightkit-qa-interactive binary).
account: Account§poll: Duration§start_grace: DurationHow long the journey may take to write its pid file before the task counts as not started.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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