Struct shiplift::exec::ExecContainerOptionsBuilder [−][src]
pub struct ExecContainerOptionsBuilder { /* fields omitted */ }
Implementations
impl ExecContainerOptionsBuilder
[src]
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
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> Instrument for T
[src]
impl<T> Instrument for T
[src]