pub struct Exec<'a> {
pub capture_stdout: bool,
pub cwd: Option<&'a str>,
pub user: Option<&'a str>,
pub env: &'a [String],
}Fieldsยง
ยงcapture_stdout: boolยงcwd: Option<&'a str>ยงuser: Option<&'a str>ยงenv: &'a [String]Trait Implementationsยง
Auto Trait Implementationsยง
impl<'a> Freeze for Exec<'a>
impl<'a> RefUnwindSafe for Exec<'a>
impl<'a> Send for Exec<'a>
impl<'a> Sync for Exec<'a>
impl<'a> Unpin for Exec<'a>
impl<'a> UnsafeUnpin for Exec<'a>
impl<'a> UnwindSafe for Exec<'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