pub struct Exec {
pub argv: Vec<OsString>,
pub env: Vec<(String, OsString)>,
pub network: bool,
pub timeout: Duration,
}Expand description
One command to run in a container.
Fields§
§argv: Vec<OsString>§env: Vec<(String, OsString)>§network: bool§timeout: DurationTrait Implementations§
Auto Trait Implementations§
impl Forget for Exec
impl Freeze for Exec
impl RefUnwindSafe for Exec
impl Send for Exec
impl Sync for Exec
impl Unpin for Exec
impl UnsafeUnpin for Exec
impl UnwindSafe for Exec
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