pub enum CommandRunner {
ContainerBuild(ContainerBuild),
ContainerRun(ContainerRun),
LocalRun(LocalRun),
TaskRun(TaskRun),
CommandRun(String),
}Variantsยง
ContainerBuild(ContainerBuild)
ContainerRun(ContainerRun)
LocalRun(LocalRun)
TaskRun(TaskRun)
CommandRun(String)
Implementationsยง
Sourceยงimpl CommandRunner
impl CommandRunner
pub fn execute(&self, context: &TaskContext) -> Result<()>
Trait Implementationsยง
Sourceยงimpl Clone for CommandRunner
impl Clone for CommandRunner
Sourceยงfn clone(&self) -> CommandRunner
fn clone(&self) -> CommandRunner
Returns a duplicate of the value. Read more
1.0.0ยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for CommandRunner
impl Debug for CommandRunner
Sourceยงimpl<'de> Deserialize<'de> for CommandRunner
impl<'de> Deserialize<'de> for CommandRunner
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementationsยง
impl Freeze for CommandRunner
impl RefUnwindSafe for CommandRunner
impl Send for CommandRunner
impl Sync for CommandRunner
impl Unpin for CommandRunner
impl UnwindSafe for CommandRunner
Blanket Implementationsยง
ยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
ยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
ยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
ยงunsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit)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