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 Execwhere
*const u8 is !null: Freeze,
PhantomData<OsString>: Freeze,
PhantomData<(String, OsString)>: Freeze,
impl Move for Exec
impl RefUnwindSafe for Exec
impl Send for Execwhere
RawVecInner: Send,
impl Sync for Execwhere
RawVecInner: Sync,
impl Unpin for Exec
impl UnsafeUnpin for Execwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<OsString>: UnsafeUnpin,
PhantomData<(String, OsString)>: UnsafeUnpin,
impl UnwindSafe for Execwhere
RawVecInner: UnwindSafe,
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