pub struct RunRequest<'a> {
pub program: &'a str,
pub args: &'a [&'a str],
pub cwd: &'a Path,
pub deadline: Option<Instant>,
pub grace_ms: u64,
pub max_stdout_bytes: usize,
pub max_stderr_bytes: usize,
}Fields§
§program: &'a str§args: &'a [&'a str]§cwd: &'a Path§deadline: Option<Instant>§grace_ms: u64§max_stdout_bytes: usize§max_stderr_bytes: usizeAuto Trait Implementations§
impl<'a> Freeze for RunRequest<'a>
impl<'a> RefUnwindSafe for RunRequest<'a>
impl<'a> Send for RunRequest<'a>
impl<'a> Sync for RunRequest<'a>
impl<'a> Unpin for RunRequest<'a>
impl<'a> UnsafeUnpin for RunRequest<'a>
impl<'a> UnwindSafe for RunRequest<'a>
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