Struct dagger_sdk::ContainerWithExecOptsBuilder
source · pub struct ContainerWithExecOptsBuilder<'a> { /* private fields */ }Expand description
Builder for ContainerWithExecOpts.
Implementations§
source§impl<'a> ContainerWithExecOptsBuilder<'a>
impl<'a> ContainerWithExecOptsBuilder<'a>
pub fn stdin<VALUE: Into<&'a str>>(&mut self, value: VALUE) -> &mut Self
pub fn redirect_stdout<VALUE: Into<&'a str>>( &mut self, value: VALUE ) -> &mut Self
pub fn redirect_stderr<VALUE: Into<&'a str>>( &mut self, value: VALUE ) -> &mut Self
pub fn experimental_privileged_nesting<VALUE: Into<bool>>( &mut self, value: VALUE ) -> &mut Self
sourcepub fn build(
&self
) -> Result<ContainerWithExecOpts<'a>, ContainerWithExecOptsBuilderError>
pub fn build( &self ) -> Result<ContainerWithExecOpts<'a>, ContainerWithExecOptsBuilderError>
Trait Implementations§
source§impl<'a> Clone for ContainerWithExecOptsBuilder<'a>
impl<'a> Clone for ContainerWithExecOptsBuilder<'a>
source§fn clone(&self) -> ContainerWithExecOptsBuilder<'a>
fn clone(&self) -> ContainerWithExecOptsBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more