pub struct AgentRelay;Expand description
Relay for executing workflows across multiple machines.
Implementations§
Source§impl AgentRelay
impl AgentRelay
Sourcepub async fn exec_sequential(
machines: &[Machine],
command: &str,
) -> Result<RelayResult>
pub async fn exec_sequential( machines: &[Machine], command: &str, ) -> Result<RelayResult>
Execute a command on multiple machines sequentially.
Sourcepub async fn exec_parallel(
machines: &[Machine],
command: &str,
) -> Result<RelayResult>
pub async fn exec_parallel( machines: &[Machine], command: &str, ) -> Result<RelayResult>
Execute a command on multiple machines concurrently.
Sourcepub async fn health_check_all(
machines: &[Machine],
) -> Vec<(String, HealthStatus)>
pub async fn health_check_all( machines: &[Machine], ) -> Vec<(String, HealthStatus)>
Run health checks on all machines.
Auto Trait Implementations§
impl Freeze for AgentRelay
impl RefUnwindSafe for AgentRelay
impl Send for AgentRelay
impl Sync for AgentRelay
impl Unpin for AgentRelay
impl UnsafeUnpin for AgentRelay
impl UnwindSafe for AgentRelay
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