pub enum ExecutorSpec {
Echo,
BambooRuntime,
CliAdapter {
command: String,
args: Vec<String>,
},
}Expand description
Which engine runs the task. The worker’s factory maps each variant to a ChildExecutor;
adding an engine = one new variant + one factory arm, nothing else changes.
Variants§
Echo
Dependency-free echo stand-in (testing / smoke runs through the full chain).
BambooRuntime
The real bamboo agent loop.
CliAdapter
Wrap an external CLI agent as the engine.
Trait Implementations§
Source§impl Clone for ExecutorSpec
impl Clone for ExecutorSpec
Source§fn clone(&self) -> ExecutorSpec
fn clone(&self) -> ExecutorSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutorSpec
impl Debug for ExecutorSpec
Source§impl<'de> Deserialize<'de> for ExecutorSpec
impl<'de> Deserialize<'de> for ExecutorSpec
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
Source§impl PartialEq for ExecutorSpec
impl PartialEq for ExecutorSpec
Source§fn eq(&self, other: &ExecutorSpec) -> bool
fn eq(&self, other: &ExecutorSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExecutorSpec
impl Serialize for ExecutorSpec
impl StructuralPartialEq for ExecutorSpec
Auto Trait Implementations§
impl Freeze for ExecutorSpec
impl RefUnwindSafe for ExecutorSpec
impl Send for ExecutorSpec
impl Sync for ExecutorSpec
impl Unpin for ExecutorSpec
impl UnsafeUnpin for ExecutorSpec
impl UnwindSafe for ExecutorSpec
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