Struct testcontainers::core::ExecCommand
source · pub struct ExecCommand { /* private fields */ }Implementations§
source§impl ExecCommand
impl ExecCommand
sourcepub fn new(cmd: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn new(cmd: impl IntoIterator<Item = impl Into<String>>) -> Self
Command to be executed
sourcepub fn with_container_ready_conditions(
self,
ready_conditions: Vec<WaitFor>
) -> Self
pub fn with_container_ready_conditions( self, ready_conditions: Vec<WaitFor> ) -> Self
Conditions to be checked on related container
sourcepub fn with_cmd_ready_condition(
self,
ready_conditions: impl Into<CmdWaitFor>
) -> Self
pub fn with_cmd_ready_condition( self, ready_conditions: impl Into<CmdWaitFor> ) -> Self
Conditions to be checked on executed command output
Trait Implementations§
source§impl Debug for ExecCommand
impl Debug for ExecCommand
Auto Trait Implementations§
impl Freeze for ExecCommand
impl RefUnwindSafe for ExecCommand
impl Send for ExecCommand
impl Sync for ExecCommand
impl Unpin for ExecCommand
impl UnwindSafe for ExecCommand
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