Struct terraform::Process[][src]

pub struct Process<P, Q> where
    P: AsRef<Path>,
    Q: AsRef<Path>, 
{ /* fields omitted */ }

Implementations

impl<P, Q> Process<P, Q> where
    P: AsRef<Path>,
    Q: AsRef<Path>, 
[src]

pub fn new(
    binary_path: P,
    working_directory: Q,
    envs: HashMap<String, String>,
    timeout: Duration
) -> Self
[src]

pub fn spawn<I, S>(&self, args: I) -> Result<ProcessContext, Error> where
    I: IntoIterator<Item = S>,
    S: AsRef<OsStr>, 
[src]

Auto Trait Implementations

impl<P, Q> RefUnwindSafe for Process<P, Q> where
    P: RefUnwindSafe,
    Q: RefUnwindSafe

impl<P, Q> Send for Process<P, Q> where
    P: Send,
    Q: Send

impl<P, Q> Sync for Process<P, Q> where
    P: Sync,
    Q: Sync

impl<P, Q> Unpin for Process<P, Q> where
    P: Unpin,
    Q: Unpin

impl<P, Q> UnwindSafe for Process<P, Q> where
    P: UnwindSafe,
    Q: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.