pub struct ExecCommand { /* private fields */ }Implementations§
Source§impl ExecCommand
impl ExecCommand
Sourcepub fn new(cmd: impl IntoIterator<Item = impl Into<String>>) -> ExecCommand
pub fn new(cmd: impl IntoIterator<Item = impl Into<String>>) -> ExecCommand
Command to be executed
Sourcepub fn with_container_ready_conditions(
self,
ready_conditions: Vec<WaitFor>,
) -> ExecCommand
pub fn with_container_ready_conditions( self, ready_conditions: Vec<WaitFor>, ) -> ExecCommand
Conditions to be checked on related container
Sourcepub fn with_cmd_ready_condition(
self,
ready_conditions: impl Into<CmdWaitFor>,
) -> ExecCommand
pub fn with_cmd_ready_condition( self, ready_conditions: impl Into<CmdWaitFor>, ) -> ExecCommand
Conditions to be checked on executed command output
Trait Implementations§
Source§impl Debug for ExecCommand
impl Debug for ExecCommand
Source§impl Default for ExecCommand
impl Default for ExecCommand
Source§fn default() -> ExecCommand
fn default() -> ExecCommand
Returns the “default value” for a type. Read more
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more