pub struct RunOptions {
pub cwd: Option<PathBuf>,
pub env: Vec<(String, String)>,
pub clear_env: bool,
pub timeout: Option<Duration>,
pub label: String,
}Fields§
§cwd: Option<PathBuf>§env: Vec<(String, String)>§clear_env: boolWhen true the inherited environment is dropped first.
timeout: Option<Duration>§label: StringTrait Implementations§
Source§impl Clone for RunOptions
impl Clone for RunOptions
Source§impl Debug for RunOptions
impl Debug for RunOptions
Auto Trait Implementations§
impl Freeze for RunOptions
impl RefUnwindSafe for RunOptions
impl Send for RunOptions
impl Sync for RunOptions
impl Unpin for RunOptions
impl UnsafeUnpin for RunOptions
impl UnwindSafe for RunOptions
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