Struct shiplift::exec::ExecContainerOptionsBuilder[][src]

pub struct ExecContainerOptionsBuilder { /* fields omitted */ }

Implementations

impl ExecContainerOptionsBuilder[src]

pub fn cmd(&mut self, cmds: Vec<&str>) -> &mut Self[src]

Command to run, as an array of strings

pub fn env(&mut self, envs: Vec<&str>) -> &mut Self[src]

A list of environment variables in the form “VAR=value”

pub fn attach_stdout(&mut self, stdout: bool) -> &mut Self[src]

Attach to stdout of the exec command

pub fn attach_stderr(&mut self, stderr: bool) -> &mut Self[src]

Attach to stderr of the exec command

pub fn build(&self) -> ExecContainerOptions[src]

Trait Implementations

impl Default for ExecContainerOptionsBuilder[src]

Auto Trait Implementations

impl RefUnwindSafe for ExecContainerOptionsBuilder

impl Send for ExecContainerOptionsBuilder

impl Sync for ExecContainerOptionsBuilder

impl Unpin for ExecContainerOptionsBuilder

impl UnwindSafe for ExecContainerOptionsBuilder

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> Instrument 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.